Add auto-execution functions

This commit is contained in:
Stéphane GAUTIER 2012-01-06 16:19:04 +01:00
commit 3c002d899c

View file

@ -63,6 +63,10 @@ function update_current_hg_vars(){
fi
}
typeset -ga preexec_functions
typeset -ga precmd_functions
typeset -ga chpwd_functions
preexec_functions+='preexec_update_hg_vars'
precmd_functions+='precmd_update_hg_vars'
chpwd_functions+='chpwd_update_hg_vars'