Skip to content

Commit

Permalink
zsh: Escape wildcard '*' in case block of the shell code (GH #17)
Browse files Browse the repository at this point in the history
Zsh 5.0.2 does not show the behaviour we have in bash dans dash, but we
preventively add the same fix as for the other shells.
  • Loading branch information
dolmen committed Feb 5, 2016
1 parent 9bda145 commit 1a701be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AngelPS1/Shell/zsh.pm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ $NAME()
PS1="\$APS1_PS1" ;;
unmute|on)
add-zsh-hook precmd -angel-PS1 ;;
*)
''*)
echo 'usage: $NAME [reload|quit|mute|off|unmute|on]' >&2 ;
return 1 ;;
esac ;
Expand Down

0 comments on commit 1a701be

Please sign in to comment.