From 6cc5e9856fd0875f767f17a6494eb4a174538ebd Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 15 Sep 2013 16:47:18 +0100 Subject: zsh: Install and use the pure prompt --- zsh/zshrc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'zsh/zshrc') 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 -- cgit 1.4.1