forked from colonelpanic/dotfiles
Prompt control based on whether or not is ansi-term or emacs shell
This commit is contained in:
parent
d19315d1c8
commit
dd256a2321
@ -9,3 +9,16 @@ alias zshenv="source ~/.zshenv"
|
|||||||
unalias run-help 2> /dev/null 1>/dev/null
|
unalias run-help 2> /dev/null 1>/dev/null
|
||||||
autoload run-help
|
autoload run-help
|
||||||
HELPDIR=/usr/local/share/zsh/helpfiles
|
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
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
environment_variable_exists INSIDE_EMACS && if_emacs_zsh
|
||||||
|
Loading…
Reference in New Issue
Block a user