diff options
Diffstat (limited to 'themes/half-life.zsh-theme')
-rw-r--r-- | themes/half-life.zsh-theme | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/half-life.zsh-theme b/themes/half-life.zsh-theme index a3c505706..8b458cde9 100644 --- a/themes/half-life.zsh-theme +++ b/themes/half-life.zsh-theme @@ -17,7 +17,7 @@ setopt prompt_subst autoload -U add-zsh-hook autoload -Uz vcs_info -#use extended color pallete if available +#use extended color palette if available if [[ $TERM = *256color* || $TERM = *rxvt* ]]; then turquoise="%F{81}" orange="%F{166}" @@ -60,7 +60,7 @@ zstyle ':vcs_info:*:prompt:*' nvcsformats "" function steeef_preexec { - case "$(history $HISTCMD)" in + case "$2" in *git*) PR_GIT_UPDATE=1 ;; |