The value of this variable is used to determine which entries are kept in the Shell's history, both regarding the current active session and when writing the history to disk on exit.
-`ignorespace`: Entries starting with one or more space characters are ignored
-`ignoredups`: Consecutive duplicate entries are ignored
-`ignoreboth`: The behaviour of `ignorespace` and `ignoredups` is combined
- If the variable is unset (this is the default) or has any other value than the above, no entries will be excluded from history.
Note: This variable is respected by every program using `Line::Editor`, e.g. [`js`(1)](../man1/js.md).
The value of this variable is used to generate a prompt, the following escape sequences can be used literally inside the value, and they would expand to their respective values:
-`\\u` : the current username
-`\\h` : the current hostname
-`\\w` : a collapsed path (relative to home) to the current directory
-`\\p` : the string '$' (or '#' if the user is 'root')
Any other escaped character shall be ignored.
`PROMPT_EOL_MARK` (environment)
The value of this variable is used to denote the ends of partial lines (lines with no newline), its default value is '%'.