diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2017-01-03 13:22:45 -0700 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2017-01-03 13:22:45 -0700 |
commit | 46d819df1a131a482618c324099947580f40b276 (patch) | |
tree | 9176b3710b2a313b3bd7a12d5a44325cfe2be281 /themes/trapd00r.zsh-theme | |
parent | 0ebfa3a504a0a4de40154432918c5f8acb33bdae (diff) | |
parent | 9f8b2b42bdfee31bb06a93aa0e8b04411727ce58 (diff) | |
download | zsh-46d819df1a131a482618c324099947580f40b276.tar.gz zsh-46d819df1a131a482618c324099947580f40b276.tar.bz2 zsh-46d819df1a131a482618c324099947580f40b276.zip |
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'themes/trapd00r.zsh-theme')
-rw-r--r-- | themes/trapd00r.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/trapd00r.zsh-theme b/themes/trapd00r.zsh-theme index ca1676fb5..3fa5d57ab 100644 --- a/themes/trapd00r.zsh-theme +++ b/themes/trapd00r.zsh-theme @@ -36,7 +36,7 @@ local c12=$(printf "\e[38;5;142m\e[1m") local c13=$(printf "\e[38;5;196m\e[1m") -# We dont want to use the extended colorset in the TTY / VC. +# We don't want to use the extended colorset in the TTY / VC. if [ "$TERM" = "linux" ]; then c1=$( printf "\e[34;1m") c2=$( printf "\e[35m") @@ -71,7 +71,7 @@ prompt_jnrowe_precmd () { PROMPT='%{$fg_bold[green]%}%p%{$reset_color%}${vcs_info_msg_0_}${dir_status} ${ret_status}%{$reset_color%} > ' -# modified, to be commited +# modified, to be committed elif [[ $(git diff --cached --name-status 2>/dev/null ) != "" ]]; then dir_status="%{$c1%}%n%{$c4%}@%{$c2%}%m%{$c0%}:%{$c3%}%l%{$c6%}->%{$(zsh_path)%} %{$c0%}(%{$c5%}%?%{$c0%})" PROMPT='${vcs_info_msg_0_}%{$30%} %{$bg_bold[red]%}%{$fg_bold[cyan]%}C%{$fg_bold[black]%}OMMIT%{$reset_color%} |