dotfiles/dotfiles/lib/zsh.sh

25 lines
460 B
Bash
Raw Normal View History

for filename in ~/.lib/zsh/*; do
source $filename
done
alias srczsh="source ~/.zshrc"
2014-11-22 06:09:53 -07:00
alias zshenv="source ~/.zshenv"
# Online help.
unalias run-help 2> /dev/null 1>/dev/null
autoload run-help
HELPDIR=/usr/local/share/zsh/helpfiles
2015-08-30 14:22:19 -06:00
function if_emacs_zsh {
if [ -z $(echo "$INSIDE_EMACS" | grep comint) ]; then
set_my_prompt
2015-08-30 14:22:19 -06:00
else
echo;
fi
}
2015-08-30 14:22:19 -06:00
environment_variable_exists INSIDE_EMACS && if_emacs_zsh || set_powerline_prompt