Skip to content

Commit

Permalink
Merge pull request #3053 from jingweno/patch-1
Browse files Browse the repository at this point in the history
Fix missing add-zsh-hook
  • Loading branch information
robbyrussell committed Aug 31, 2014
2 parents a5cbd31 + dc9e176 commit be578d9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/termsupport.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,5 @@ function omz_termsupport_preexec {
title '$CMD' '%100>...>$LINE%<<'
}

autoload -U add-zsh-hook
add-zsh-hook precmd omz_termsupport_precmd
add-zsh-hook preexec omz_termsupport_preexec
precmd_functions+=(omz_termsupport_precmd)
preexec_functions+=(omz_termsupport_preexec)

0 comments on commit be578d9

Please sign in to comment.