
continue | 659
Bash and Korn
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
dirnames
Do directory name completion if no matches are
produced.
filenames
Inform the readline library that the intended output is
filenames, so that the library can do any filename-specific
processing, such as adding a trailing slash for directories
or removing trailing spaces.
nospace
Inform the readline library that it should not append a
space to words completed at the end of a line.
plusdirs
Attempt directory completion and add any results to the
list of completions already generated.
-p With no commands, print all completion settings in a way
that can be reread.
-P prefix
The prefix is added to each resulting string as a prefix after all
the other options have been applied.
-r Remove the completion settings for the given commands, or
all settings if no commands.
-s Save as -A service.
-S suffix
The suffix is added to each resulting string as a suffix after all
the other options have been applied.
-u Same as -A user.
-v Same as -A variable.
-W wordlist
Split wordlist (a single shell word) using $IFS. The generated
list contains the members of the split list that matched the
word being completed. Each member is expanded using brace
expansion, tilde expansion, parameter and variable expan-
sion, command substitution, and arithmetic expansion. Shell
quoting is respected. ...