浏览代码

Merge pull request #1295 from XL64/master

Fixed johnathan-zsh.theme if rbenv doesn't exists
Robby Russell 12 年之前
父节点
当前提交
fdf3a3998f
共有 1 个文件被更改,包括 2 次插入0 次删除
  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 ))