zsh: Install and use the pure prompt
1 file changed, 3 insertions(+), 6 deletions(-)
changed files
M zsh/zshrc → zsh/zshrc
@@ -168,13 +168,10 @@ # Filename suffixes to ignore during completion (except after rm command) zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' '*?.old' '*?.pro' ## Prompt -if [[ $term = "putty" ]];then - prompt_char="›" -else - prompt_char=">" -fi +autoload -U promptinit +promptinit -PS1="%B%~%(!.%{$fg[red]%}.%{$fg[green]%})$prompt_char%f%b " +prompt pure # Options