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 committed 2017-01-25 19:35:34 +00:00
1 parent aac4a44238
commit 9523d6d49c
1 file changed
+3
+3
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'