diff options
author | Alan Pearce | 2013-09-15 16:47:18 +0100 |
---|---|---|
committer | Alan Pearce | 2013-09-15 17:18:33 +0100 |
commit | 6cc5e9856fd0875f767f17a6494eb4a174538ebd (patch) | |
tree | 6582a5b02e3de72186eb8347683f4a5405e2779b /zsh/zshrc | |
parent | c8dfdd15c8712ff5ca24dc713b585e9a568adbdb (diff) | |
download | nixfiles-6cc5e9856fd0875f767f17a6494eb4a174538ebd.tar.lz nixfiles-6cc5e9856fd0875f767f17a6494eb4a174538ebd.tar.zst nixfiles-6cc5e9856fd0875f767f17a6494eb4a174538ebd.zip |
zsh: Install and use the pure prompt
Diffstat (limited to 'zsh/zshrc')
-rwxr-xr-x | zsh/zshrc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/zsh/zshrc b/zsh/zshrc index 3bf6e3b9..18cc118e 100755 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -168,13 +168,10 @@ zstyle ':vcs_info:*' enable git hg 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 |