From 10c424927a68a02add3963886cee70046fc3101e Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 2 Jul 2026 13:51:44 -0700 Subject: [PATCH] chore(shell): interactive_comments, bun and grok installer blocks - setopt interactive_comments: inline `#` comments at the prompt, so pasted commands with comment tails don't error (matches script mode) - bun: completions + BUN_INSTALL bin on PATH (installer-appended) - grok: bin on PATH + zsh completions fpath (installer-appended) --- home_root/.zshrc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/home_root/.zshrc b/home_root/.zshrc index c933994..33aaee2 100644 --- a/home_root/.zshrc +++ b/home_root/.zshrc @@ -60,6 +60,10 @@ setopt hist_ignore_dups setopt hist_find_no_dups setopt hist_verify +# allow inline `#` comments at the interactive prompt (paste-friendly; +# matches non-interactive/script behavior so pasted commands don't fail) +setopt interactive_comments + # completion styling zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" @@ -114,3 +118,16 @@ if [[ $(uname) == "Linux" ]]; then bindkey "${terminfo[kcud1]}" history-search-forward fi + +# bun completions +[ -s "/home/lkraven/.bun/_bun" ] && source "/home/lkraven/.bun/_bun" + +# bun +export BUN_INSTALL="$HOME/.bun" +export PATH="$BUN_INSTALL/bin:$PATH" + +# >>> grok installer >>> +export PATH="$HOME/.grok/bin:$PATH" +fpath=(~/.grok/completions/zsh $fpath) +autoload -Uz compinit && compinit -C +# <<< grok installer <<<