zsh updates
This commit is contained in:
@@ -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
|
||||
@@ -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 $ '
|
||||
Reference in New Issue
Block a user