Chapter 8: Command Line Editing

108

set to a value less than or equal to zero, or to a non-numeric value,

Readline will wait until another key is pressed to decide which key sequence to complete. The default value is 500. mark-directories

If set to ‘on’, completed directory names have a slash appended.

The default is ‘on’. mark-modified-lines

This variable, when set to ‘on’, causes Readline to display an as- terisk (‘*’) at the start of history lines which have been modified.

This variable is ‘off’ by default. mark-symlinked-directories

If set to ‘on’, completed names which are symbolic links to directories have a slash appended (subject to the value of mark-directories). The default is ‘off’. match-hidden-files

This variable, when set to ‘on’, causes Readline to match files whose names begin with a ‘.’ (hidden files) when performing filename completion. If set to ‘off’, the leading ‘.’ must be supplied by the user in the filename to be completed. This variable is ‘on’ by default. menu-complete-display-prefix

If set to ‘on’, menu completion displays the common prefix of the list of possible completions (which may be empty) before cycling through the list. The default is ‘off’. output-meta

If set to ‘on’, Readline will display characters with the eighth bit set directly rather than as a meta-prefixed escape sequence. The default is ‘off’. page-completions

If set to ‘on’, Readline uses an internal more-like pager to display a screenful of possible completions at a time. This variable is ‘on’ by default. print-completions-horizontally

If set to ‘on’, Readline will display completions with matches sorted horizontally in alphabetical order, rather than down the screen.

The default is ‘off’. revert-all-at-newline

If set to ‘on’, Readline will undo all changes to history lines before returning when accept-line is executed. By default, history lines may be modified and retain individual undo lists across calls to readline. The default is ‘off’.