tests: zsh 5.4-to-be compatibility: Set a new "I am shooting myself in the foot" option.

This commit is contained in:
Daniel Shahaf 2017-01-25 19:35:34 +00:00
parent aac4a44238
commit 9523d6d49c

View file

@ -29,6 +29,9 @@
alias alias1="unused expansion"
alias -s alias2="echo"
if set -o | grep -q aliasfuncdef; then
setopt alias_func_def # 5.4+
fi
alias1() {} # to check that it's highlighted as an alias, not as a function
BUFFER='x.alias2; alias1'