mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-31 18:10:56 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			245 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			245 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #compdef write
 | |
| 
 | |
| local expl
 | |
| 
 | |
| if (( $+commands[users] )); then
 | |
|   _wanted users expl 'users logged on' \
 | |
|       compadd "$@" - $(_call users users) && return 0
 | |
| else
 | |
|   # Other methods of finding out users logged on should be added here
 | |
|   return 1
 | |
| fi
 |