Browse Source

[Fix #230] Check the expanded command in steeef preexec

master
Sorin Ionescu 12 years ago
parent
commit
95faf814b5
  1. 9
      modules/prompt/functions/prompt_steeef_setup

9
modules/prompt/functions/prompt_steeef_setup

@ -32,14 +32,9 @@ function prompt_steeef_precmd { @@ -32,14 +32,9 @@ function prompt_steeef_precmd {
}
function prompt_steeef_preexec {
case "$(history $HISTCMD)" in
(*git*)
if [[ "${2[(w)1]}" == (git|svn) ]]; then
__PROMPT_STEEEF_VCS_UPDATE=1
;;
(*svn*)
__PROMPT_STEEEF_VCS_UPDATE=1
;;
esac
fi
}
function prompt_steeef_chpwd {

Loading…
Cancel
Save