Chapter 4: Shell Builtin Commands

67

lastpipe

If set, and job control is not active, the shell runs the last command of a pipeline not executed in the background in the current shell environment. lithist

If enabled, and the cmdhist option is enabled, multi-line commands are saved to the history with embedded newlines rather than using semicolon separators where possible. login_shell

The shell sets this option if it is started as a login shell (see

Section 6.1 [Invoking Bash], page 80).

The value may not be changed. mailwarn

If set, and a file that Bash is checking for mail has been accessed since the last time it was checked, the message "The mail in mail- file has been read" is displayed. no_empty_cmd_completion

If set, and Readline is being used, Bash will not attempt to search the PATH for possible completions when completion is attempted on an empty line. nocaseglob

If set, Bash matches filenames in a case-insensitive fashion when performing filename expansion. nocasematch

If set, Bash matches patterns in a case-insensitive fashion when performing matching while executing case or [[ conditional com- mands. nullglob

If set, Bash allows filename patterns which match no files to expand to a null string, rather than themselves. progcomp

If set, the programmable completion facilities (see Section 8.6 [Pro- grammable Completion], page 124) are enabled.

This option is enabled by default. promptvars

If set, prompt strings undergo parameter expansion, command substitution, arithmetic expansion, and quote removal after being expanded as described below (see Section 6.9 [Controlling the

Prompt], page 92). This option is enabled by default. restricted_shell

The shell sets this option if it is started in restricted mode (see

Section 6.10 [The Restricted Shell], page 93). The value may not be changed. This is not reset when the startup files are executed, allowing the startup files to discover whether or not a shell is re- stricted. shift_verbose

If this is set, the shift builtin prints an error message when the shift count exceeds the number of positional parameters.