Browse Source

Merge pull request #1295 from XL64/master

Fixed johnathan-zsh.theme if rbenv doesn't exists
Robby Russell 12 years ago
parent
commit
fdf3a3998f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      themes/jonathan.zsh-theme

+ 2 - 0
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 ))