Next: Git Options, Previous: Advanced Options, Up: Top
In this category you’ll find various Bash builtin options (shopts) that alter how Bash behaves in different cases.
When saving the Bash history to $HISTFILE upon Bash exit, the new history entries will be appended to the existing file rather than overwriting it.
This corrects minor errors in the spelling of a directory component in a
cd
command. The errors checked for are transposed characters, a missing
character, and one character too many.
An argument to the cd builtin command that is not a directory is assumed to be the name of a variable whose value is the directory to change to.
Lets Bash check that a command found in the hash table exists before trying to execute it. If a hashed command no longer exists, a normal path search is performed.
When saving History entries try to store multi-line commands in one line.
Ignore all files from completion whichs suffixes are defined in $FIGNORE environment variable. This is enabled by default.
The user is given the opportunity to re-edit a failed history substitution.
When attempting completion on and empty command line, no completion based on the $PATH variable is done.
When attempting file- or pathname completion include hidden matches (with leading dot).
Enable extended pattern matching features.
When set file- or pathname expansion is done case insensitive.
When set pattern matching in case
or [[
conditional commands is
done case insensitive.
When the given command is the name of a directory cd
into it, instead
of executing a command of the same name.
When set bash tries to correct minor spelling mistakes on directory names.
For example cd /hoem/
will successfully result in cd /home/
.
When set the **
glob will match all files, directories and subdirectories,
the **/
glob will match all directories and subdirectories, but no files.
Before exiting bash show the status of currently running background jobs. If there are any, the exit is delayed until a second attempt to prevent accidentally killing running jobs.
When set bash tries to expand pathnames from variables upon [TAB].
When set range expressions for patterng matching behave like in the C
locale.
Next: Git Options, Previous: Advanced Options, Up: Top