2013-11-22 11:52:22 -07:00
|
|
|
for filename in ~/.lib/zsh/*; do
|
|
|
|
source $filename
|
|
|
|
done
|
|
|
|
|
2014-04-17 01:18:19 -06:00
|
|
|
alias srczsh="source ~/.zshrc"
|
2014-11-22 06:09:53 -07:00
|
|
|
alias zshenv="source ~/.zshenv"
|
2014-08-25 15:25:10 -06:00
|
|
|
|
|
|
|
# Online help.
|
2014-08-25 20:10:05 -06:00
|
|
|
unalias run-help 2> /dev/null 1>/dev/null
|
2014-08-25 15:25:10 -06:00
|
|
|
autoload run-help
|
|
|
|
HELPDIR=/usr/local/share/zsh/helpfiles
|
2015-08-30 00:56:56 -06:00
|
|
|
|
|
|
|
|
2015-08-30 14:22:19 -06:00
|
|
|
|
2015-08-30 00:56:56 -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;
|
2015-08-30 00:56:56 -06:00
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2015-08-30 14:22:19 -06:00
|
|
|
environment_variable_exists INSIDE_EMACS && if_emacs_zsh || set_powerline_prompt
|