Handle SIGHUP by reloading zshrc

This commit is contained in:
Moshe Zada 2015-02-27 17:27:31 +02:00
parent 2e53da3dcd
commit 9ed4fb9053

View File

@ -44,8 +44,13 @@ fi
alias lsg='ll | grep'
# Alias Editing
TRAPHUP() {
source $yadr/zsh/aliases.zsh
}
alias ae='vim $yadr/zsh/aliases.zsh' #alias edit
alias ar='source $yadr/zsh/aliases.zsh' #alias reload
alias gar="killall -HUP -u \"$USER\" zsh" #global alias reload
# vim using
mvim --version > /dev/null 2>&1