Figure 12.1: Readline Settings
This master switch will make BashStyle-NG adjust the Settings for Readline
Enable Readline (Tab) completion.
Set the style of "bell" Readline uses to inform the user when an error
occurs or upon other events:
audible = *beep*
visible = screen flashes
nothing
Controls whether Readline uses a set of key bindings similar to
emacs or vi
When completion is triggered in the middle of a string, bash will never duplicate the trailing substring upon completion. Example
ls teststring testsubstring cp testsuring
where | represents the cursor position while pressing TAB, the
following result will be generated with this setting enabled:
cp testsubstring
with this setting disabled:
cp testsubstringring
Notice how the trailing ring that was there before completion remains.
If enabled, Readline displays completions with matches sorted horizontally
in alphabetical order, rather than down the screen.
If enabled, words which have more than one possible completion cause the matches to be listed immediately instead of ringing the bell.
Color the completion prefix, uses the $LS_COLORS value
Example when pressing TAB to complete all files starting with userdoc,
ambiguous_show is enabled (in this case the prefix is yellow):
Figure 12.2: Readline Settings
When the number of possible completions is greater than or equal to the value of
this Setting, Readline asks whether or not the user wishes to view them.
Whether to include hidden files in file name completion or not.
Whether completion is case sensitive or not.
If enabled, completed directory names have a slash appended.
If enabled, completed names which are symbolic links to directories have a slash
appended, subject to the value of mark_directories
If enabled, a character denoting a file’s type as reported by stat is appended to the filename when listing possible completions
If enabled, following visible_stats the completet filenames are colored
according to $LS_COLORS.
Makes the shell scroll horizontal, rather when wrapping to a new line, if the input exceeds the screen width.
When pressing Arrow Up or otherwise reusing a command from the history
and modifying that command the prompt is preceeded by * to mark the
history item as modified.
Whether Readline performs history list searches case sensitive or not.
When set to On, readline configures the terminal to insert each paste into the editing buffer as a single string of characters, instead of treating each character as if it had been read from the keyboard
If enabled the shell shows the current active edit mode in the prompt.
If show_editmode is enabled, this string is used for indicating
emacs edit mode.
If show_editmode is enabled, this string is used for indicating
vi command mode.
If show_editmode is enabled, this string is used for indicating
vi insert mode.