Add fish private mode info to changelog and manual

This commit is contained in:
Mahmoud Al-Qudsi 2018-10-21 21:32:53 -05:00 committed by Fabian Homborg
parent ebb3a3a16e
commit f695284a84
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,7 @@ fish 3.0 is a major release which brings with it both improvements in functional
### Syntax/semantic changes and new builtins
- fish now supports `&&`, `||`, and `!` (#4620).
- Variables may be used as commands (#154).
- fish may be started in private mode via `fish --private` or `fish -P`. Private mode fish sessions do not have access to the history file and any commands evaluated in private mode are not persisted for future sessions. A session variable `$fish_private_mode` can be queried to detect private mode and adjust the behavior of scripts accordingly to respect the user's wish for privacy.
- A new feature flags mechanism is added for staging deprecations and breaking changes. Feature flags may be specified at launch with `fish --features ...` or by setting the universal `fish_features` variable. (#4940)
- `wait` builtin is added for waiting on processes (#4498).
- `math` is now a builtin rather than a wrapper around `bc` (#3157). The default scale is now 6, so that floating point computations produce decimals (#4478).

View File

@ -1360,6 +1360,9 @@ When fish waits for input, it will display a prompt by evaluating the `fish_prom
If a function named `fish_greeting` exists, it will be run when entering interactive mode. Otherwise, if an environment variable named `fish_greeting` exists, it will be printed.
\subsection private-mode Private mode
fish supports launching in private mode via `fish --private` (or `fish -P` for short). In private mode, old history is not available and any interactive commands you execute will not be appended to the global history file, making it useful both for avoiding inadvertently leaking personal information (e.g. for screencasts) and when dealing with sensitive information to prevent it being persisted to disk. You can query the global variable `fish_private_mode` (`if set -q fish_private_mode ...`) if you would like to respect the user's wish for privacy and alter the behavior of your own fish scripts.
\subsection event Event handlers