浏览代码

Add empty function rbenv_prompt_info() if doesn't exists

Xavier Lacoste 12 年之前
父节点
当前提交
28d3b80db1
共有 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 {
 function theme_precmd {
     local TERMWIDTH
     local TERMWIDTH
     (( TERMWIDTH = ${COLUMNS} - 1 ))
     (( TERMWIDTH = ${COLUMNS} - 1 ))