comparison oh-my-zsh/themes/custom.zsh-theme @ 43:642841c0badb

Show username in ZSH prompt
author zegervdv <zegervdv@me.com>
date Thu, 24 Apr 2014 18:14:18 +0200
parents 1b3381f349f0
children 16edf05ad21a
comparison
equal deleted inserted replaced
42:4c3b25554bbb 43:642841c0badb
12 ((git=${#git} - 10)) 12 ((git=${#git} - 10))
13 else 13 else
14 git=0 14 git=0
15 fi 15 fi
16 16
17 PROMPT='%{$fg[cyan]%}%M%{$reset_color%} in %{$fg[yellow]%}%~%b%{$reset_color%} 17 PROMPT='%{$fg[cyan]%}%n%{$reset_color%} in %{$fg[yellow]%}%~%b%{$reset_color%}
18 %{$reset_color%}%(?.%{$fg[white]%}.%{$fg[red]%})→ ' 18 %{$reset_color%}%(?.%{$fg[white]%}.%{$fg[red]%})→ '
19 19
20 20
21 RPROMPT='$my_gray$(git_prompt_info) $(git_prompt_status)%{$reset_color%}%' 21 RPROMPT='$my_gray$(git_prompt_info) $(git_prompt_status)%{$reset_color%}%'
22 22