tests: zsh 5.4-to-be compatibility: Set a new "I am shooting myself in the foot" option.
This commit is contained in:
		
							parent
							
								
									aac4a44238
								
							
						
					
					
						commit
						9523d6d49c
					
				|  | @ -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' | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue