summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorXavier Lacoste <xavier.lacoste@inria.fr>2012-08-30 16:25:36 +0200
committerXavier Lacoste <xavier.lacoste@inria.fr>2012-08-30 16:25:36 +0200
commit28d3b80db1d5d976a809bc01da191be5b1768fcb (patch)
treefe1f5431c73bab3ccc98ff52c4e15b7730350b86 /themes
parentd05b2010ffd4cd33ff9402c402051b1caf985d97 (diff)
downloadzsh-28d3b80db1d5d976a809bc01da191be5b1768fcb.tar.gz
zsh-28d3b80db1d5d976a809bc01da191be5b1768fcb.tar.bz2
zsh-28d3b80db1d5d976a809bc01da191be5b1768fcb.zip
Add empty function rbenv_prompt_info() if doesn't exists
Diffstat (limited to 'themes')
-rw-r--r--themes/jonathan.zsh-theme2
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 ))