mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-03-06 06:25:35 +08:00
tests: Unbreak the build on zsh 5.0.8 and older.
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
|
||||
# See also alias-precommand-option-argument1.zsh
|
||||
local -a sudo_u=(sudo -u)
|
||||
local -a sudo_u; sudo_u=(sudo -u)
|
||||
sudo(){}
|
||||
|
||||
BUFFER='$sudo_u phy1729 echo foo'
|
||||
|
||||
Reference in New Issue
Block a user