set prompt properly in zsh

This commit is contained in:
Ivan Malison 2015-08-30 13:22:19 -07:00
parent 1f65ec712e
commit 34f946954f

View File

@ -11,14 +11,14 @@ autoload run-help
HELPDIR=/usr/local/share/zsh/helpfiles HELPDIR=/usr/local/share/zsh/helpfiles
set_powerline_prompt
function if_emacs_zsh { function if_emacs_zsh {
if [ -z $(echo "$INSIDE_EMACS" | grep comint) ]; then if [ -z $(echo "$INSIDE_EMACS" | grep comint) ]; then
echo;
else
set_my_prompt set_my_prompt
else
echo;
fi fi
} }
environment_variable_exists INSIDE_EMACS && if_emacs_zsh environment_variable_exists INSIDE_EMACS && if_emacs_zsh || set_powerline_prompt