From 34f946954fb02735ef5a9edc7dac77d1ea6ae6d5 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sun, 30 Aug 2015 13:22:19 -0700 Subject: [PATCH] set prompt properly in zsh --- dotfiles/lib/zsh.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dotfiles/lib/zsh.sh b/dotfiles/lib/zsh.sh index 2392872e..7ea78923 100644 --- a/dotfiles/lib/zsh.sh +++ b/dotfiles/lib/zsh.sh @@ -11,14 +11,14 @@ autoload run-help HELPDIR=/usr/local/share/zsh/helpfiles -set_powerline_prompt + function if_emacs_zsh { if [ -z $(echo "$INSIDE_EMACS" | grep comint) ]; then - echo; - else set_my_prompt + else + echo; fi } -environment_variable_exists INSIDE_EMACS && if_emacs_zsh +environment_variable_exists INSIDE_EMACS && if_emacs_zsh || set_powerline_prompt