Handle SIGHUP by reloading zshrc
This commit is contained in:
parent
2e53da3dcd
commit
9ed4fb9053
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user