From f70c216e82687cfb1ce5c518f9666d481ee74db8 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sat, 14 Dec 2013 20:22:25 -0500 Subject: Show path on right side of prompt --- .zshrc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.zshrc b/.zshrc index da289ea5..dae1abc1 100644 --- a/.zshrc +++ b/.zshrc @@ -62,6 +62,6 @@ EDITOR=vim # Prompt unset _prompt_host -[[ -n "$SSH_CLIENT" ]] && _prompt_host="%{$fg[magenta]%}%m:" -PROMPT=$'%{$terminfo[bold]$fg[green]%}[$_prompt_host%{$fg[blue]%}%30<…<%~$(gitprompt)%{$fg[green]%}]%(!.#.$)%{$terminfo[sgr0]$reset_color%} ' -RPROMPT="%(?..%{$terminfo[bold]$fg[green]%}[%{$fg[red]%}%?%{$fg[green]%}]%{$terminfo[sgr0]%})" +[[ -n "$SSH_CLIENT" ]] && _prompt_host="%{$fg[magenta]%}%m" +PROMPT=$'%{$terminfo[bold]%}$_prompt_host%{$fg[green]%}»%{$terminfo[sgr0]$reset_color%} ' +RPROMPT=$'%{$terminfo[bold]%}%(?..%{$fg[red]%}%? )%{$fg[blue]%}%30<…<%~$(gitprompt)%{$terminfo[sgr0]%}' -- cgit 1.4.1