zshrc: More intelligent sourcing.

This commit is contained in:
Mika Suomalainen 2011-10-01 16:32:18 +03:00
parent a6df36aa40
commit 8f5a2e86de

19
zshrc
View File

@ -41,7 +41,18 @@ zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'
# Sources everything. # Sources everything.
source ~/.zsh_aliases if [ -f ~/.zsh_aliases ]; then
source ~/.zshenv source ~/.zsh_aliases
source ~/.zsh_functions fi
source ~/.zsh_tmux
if [ -f ~/.zshenv ]; then
source ~/.zshenv
fi
if [ -f ~/.zsh_functions ]; then
source ~/.zsh_functions
fi
if [ -f ~/.zsh_tmux ]; then
source ~/.zsh_tmux
fi