From 5611cc1e0bbbbb7ce6409bef404ba722cd0dd0dc Mon Sep 17 00:00:00 2001 From: Curtis 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(-) (limited to '.zshrc') diff --git a/.zshrc b/.zshrc index 618f60ff..09362987 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