Mercurial > dotfiles.old
comparison oh-my-zsh/themes/custom.zsh-theme @ 102:a25bdb562e43
Fix zsh prompt
author | zegervdv <zegervdv@me.com> |
---|---|
date | Sun, 10 Aug 2014 11:37:27 +0200 |
parents | 16edf05ad21a |
children | 18db7404aaf2 |
comparison
equal
deleted
inserted
replaced
101:368f742876cf | 102:a25bdb562e43 |
---|---|
11 ((git=${#git} - 10)) | 11 ((git=${#git} - 10)) |
12 else | 12 else |
13 git=0 | 13 git=0 |
14 fi | 14 fi |
15 | 15 |
16 PROMPT='%{$fg[cyan]%}%n%{$reset_color%} in %{$fg[yellow]%}%~%b%{$reset_color%} | 16 PROMPT='%{$fg[cyan]%}%n@%m%{$reset_color%} in %{$fg[yellow]%}%~%b%{$reset_color%} |
17 %{$reset_color%}%(?.%{$fg[white]%}.%{$fg[red]%})→ %{$reset_color%}' | 17 %{$reset_color%}%(?.%{$fg[white]%}.%{$fg[red]%})→ %{$reset_color%}' |
18 | 18 |
19 | 19 |
20 RPROMPT='$my_gray$(git_prompt_info) $(git_prompt_status)%{$reset_color%}%' | 20 RPROMPT='$my_gray$(git_prompt_info) $(git_prompt_status)%{$reset_color%}%' |
21 | 21 |