Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: supress suffix (blank) in completion menu (selection)



On Nov 3, 11:16pm, Borsenkow Andrej wrote:
}
} I want to complete prefix of more long word that is known to be 
} incomplete. I do not want any suffix added
} 
}          elif compset -P removable_; then
}              compadd -- cdrom_ floppy_ && return 0

Unless I'm missing something:

	elif compset -P removable_; then
	    compadd -S '' -- cdrom_ floppy_ && return 0

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



Messages sorted by: Reverse Date, Date, Thread, Author