mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 06:00:54 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			429 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			429 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #compdef env
 | |
| 
 | |
| if _pick_variant gnu=Free\ Soft unix --version; then
 | |
|   _arguments \
 | |
|     '(--ignore-environment -i)'{-i,--ignore-environment}'[start with empty environment]' \
 | |
|     '*'{-u,--unset=}'[remove variable from the environment]:env var to remove:compadd ${(k)parameters[(R)*export*]}' \
 | |
|     '--help[help]' \
 | |
|     '--version[version]' \
 | |
|     '(-):command: _command_names -e' \
 | |
|     '*::arguments: _normal'
 | |
| else
 | |
|   _precommand
 | |
| fi
 |