diff options
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -36,13 +36,13 @@ if [ "$TERM" = "st-256color" ] || [ "$TERM" = "xterm-256color" ]; then zle -N zle-line-finish fi -which pacman >/dev/null && COLOR1="cyan" -which apt >/dev/null && COLOR1="green" -which syspatch >/dev/null && COLOR1="red" +which pacman >/dev/null && COLOR1="014" +which apt >/dev/null && COLOR1="010" +which syspatch >/dev/null && COLOR1="009" -MYPROMPT='%B%F{'"$COLOR1"'}[%n@%m]:%f%F{white}%~%f%F{'"$COLOR1"'}%#%f%b ' +MYPROMPT='%B%S%F{'"$COLOR1"'}[%n@%m]:%f%s%F{015}%~%f%S%F{'"$COLOR1"'}%#%f%s%b ' function zle-line-init zle-keymap-select { - VIM_PROMPT="%B%F{blue}[%n@%m]:%f%F{white}%~%f%F{blue}%#%f%b " + VIM_PROMPT="%B%F{012}[%n@%m]:%f%F{015}%~%f%F{012}%#%f%b " PS1="${${KEYMAP/vicmd/$VIM_PROMPT}/main/$MYPROMPT}" #PS1="$PROMPT $KEYMAP" zle reset-prompt |