all repos — nixfiles @ 6cc5e9856fd0875f767f17a6494eb4a174538ebd

System and user configuration, managed by nix and home-manager

zsh: Install and use the pure prompt

Alan Pearce
commit

6cc5e9856fd0875f767f17a6494eb4a174538ebd

parent

c8dfdd15c8712ff5ca24dc713b585e9a568adbdb

1 file changed, 3 insertions(+), 6 deletions(-)

changed files
M zsh/zshrczsh/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