Skip to content

Commit

Permalink
driver: Be immune to 'alias' having been redefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielshahaf committed Dec 1, 2016
1 parent 76ea9e1 commit 8d5afe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zsh-syntax-highlighting.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
# -------------------------------------------------------------------------------------------------

# First of all, ensure predictable parsing.
zsh_highlight__aliases=`alias -L`
zsh_highlight__aliases=`builtin alias -L`
builtin unalias -m '*'

# Set $0 to the expected value, regardless of functionargzero.
Expand Down

0 comments on commit 8d5afe4

Please sign in to comment.