mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-10-30 17:50:58 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			310 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			310 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #function configure
 | |
| if [[ $PREFIX = *=* ]]; then
 | |
|   # Complete filenames after e.g. --prefix=
 | |
|   IPREFIX=${PREFIX%%=*}=
 | |
|   PREFIX=${PREFIX#*=}
 | |
|   complist -f
 | |
| else
 | |
|   # Generate a list of options from configure --help
 | |
|   complist -s '$($COMMAND --help |
 | |
|   sed -n -e '\''s/^ *\(--[-a-z0-9]*\)[    =,].*$/\1/p'\'')'
 | |
| fi
 |