3976b93f3931a7ebc913576015ff395dcd495d95
- Author
- Daniel Farrell <dfarrell07@gmail.com>
- Committer
- Daniel Farrell <dfarrell07@gmail.com>
- Date
Message
Fixed which output at each new shell creation
Diff
1diff --git a/themes/gallois.zsh-theme b/themes/gallois.zsh-theme
2index f1057a9a974fafd033ea30a613d76295aefaaaa5..f31d21958abd086d307b79e5d58272daec6c2f98 100644
3--- a/themes/gallois.zsh-theme
4+++ b/themes/gallois.zsh-theme
5@@ -18,7 +18,7 @@ else
6 if which rbenv &> /dev/null; then
7 RPS1='$(git_custom_status)%{$fg[red]%}[`rbenv version | sed -e "s/ (set.*$//"`]%{$reset_color%} $EPS1'
8 else
9- if [[ -n `which chruby_prompt_info` && -n `chruby_prompt_info` ]]; then
10+ if [[ -n `which chruby_prompt_info &> /dev/null` && -n `chruby_prompt_info` ]]; then
11 RPS1='$(git_custom_status)%{$fg[red]%}[`chruby_prompt_info`]%{$reset_color%} $EPS1'
12 else
13 RPS1='$(git_custom_status) $EPS1'