Skip to content

Commit

Permalink
zsh: fix missing autoload for add-zsh-hook in init shell code
Browse files Browse the repository at this point in the history
  • Loading branch information
dolmen committed Feb 5, 2016
1 parent afbb0f3 commit 9bda145
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/AngelPS1/Shell/zsh.pm
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ APS1_PS1="\$PS1";
set -o promptpercent ;
set -o nopromptbang ;
set -o nopromptsubst ;
autoload -Uz add-zsh-hook ;
add-zsh-hook precmd -angel-PS1 ;
APS1_NAME=$NAME ;
APS1_PID=$PID ;
Expand Down

0 comments on commit 9bda145

Please sign in to comment.