zsh updates

This commit is contained in:
2026-06-27 21:25:33 -04:00
parent 538860bfcb
commit cbb0ae5c46
8 changed files with 117 additions and 3 deletions
+3
View File
@@ -32,5 +32,8 @@ fpath=("$HOME/.grok/completions/zsh" $fpath)
# If not running interactively, don't do anything
[[ -o interactive ]] || return
# Delete key sends ESC[3~; without this binding zsh inserts "~" literally
[[ -n ${terminfo[kdch1]} ]] && bindkey "${terminfo[kdch1]}" delete-char
autoload -Uz compinit
compinit
+2 -1
View File
@@ -11,4 +11,5 @@ zstyle ':vcs_info:git:*' stagedstr ' +'
zstyle ':vcs_info:git:*' unstagedstr ' *'
setopt prompt_subst
PROMPT='%B%F{38;5;46m}%n@%m%b%f %F{38;5;51m}%~%f%F{90m}${vcs_info_msg_0_}%f $ '
# Bright green user@host (matches bash git.bash)
PROMPT='%B%F{46}%n@%m%b%f %F{51}%~%f%F{90}${vcs_info_msg_0_}%f $ '