diff options
author | Robby Russell <robby@planetargon.com> | 2012-12-02 13:02:38 -0800 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2012-12-02 13:02:38 -0800 |
commit | fdf3a3998f936a7c9bad6bbbddd9ed1adbfa0286 (patch) | |
tree | 9d0dafe1adc50a06dea0b373496d04b5e871f56b /themes/jonathan.zsh-theme | |
parent | 1f284071de3dda88f2faa06b83f3775026e6b623 (diff) | |
parent | 23657840a1ca31ffbce8f84d96d3063f5b4b4319 (diff) | |
download | zsh-fdf3a3998f936a7c9bad6bbbddd9ed1adbfa0286.tar.gz zsh-fdf3a3998f936a7c9bad6bbbddd9ed1adbfa0286.tar.bz2 zsh-fdf3a3998f936a7c9bad6bbbddd9ed1adbfa0286.zip |
Merge pull request #1295 from XL64/master
Fixed johnathan-zsh.theme if rbenv doesn't exists
Diffstat (limited to 'themes/jonathan.zsh-theme')
-rw-r--r-- | themes/jonathan.zsh-theme | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/themes/jonathan.zsh-theme b/themes/jonathan.zsh-theme index 2f0c4b917..9f0f30271 100644 --- a/themes/jonathan.zsh-theme +++ b/themes/jonathan.zsh-theme @@ -1,3 +1,5 @@ +functions rbenv_prompt_info >& /dev/null || rbenv_prompt_info(){} + function theme_precmd { local TERMWIDTH (( TERMWIDTH = ${COLUMNS} - 1 )) |