mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 21:18:53 +00:00
docs: Some slight rewordings
This commit is contained in:
parent
5b1ff9459a
commit
8abd0319fb
2 changed files with 4 additions and 4 deletions
|
@ -25,9 +25,9 @@ If this is your first time using fish, see the :ref:`tutorial <tutorial>`.
|
|||
|
||||
If you are already familiar with other shells like bash and want to see the scripting differences, see :ref:`Fish For Bash Users <fish_for_bash_users>`.
|
||||
|
||||
For a comprehensive overview of fish's scripting language, see :ref:`The Fish Language <language>`.
|
||||
For an overview of fish's scripting language, see :ref:`The Fish Language <language>`. If it would be useful in a script file, it's here.
|
||||
|
||||
For information on using fish interactively, see :ref:`Interactive use <interactive>`.
|
||||
For information on using fish interactively, see :ref:`Interactive use <interactive>`. If it's about key presses, syntax highlighting or anything else that needs an interactive terminal session, look here.
|
||||
|
||||
If you need to install fish first, read on, the rest of this document will tell you how to get, install and configure fish.
|
||||
|
||||
|
|
|
@ -639,9 +639,9 @@ If the commandline reads ``cd m``, place the cursor over the ``m`` character and
|
|||
Private mode
|
||||
-------------
|
||||
|
||||
Fish has a private mode, in which command history will not be written to the history file on disk. To enable it, either set ``$fish_private_mode`` to a non-empty value.
|
||||
Fish has a private mode, in which command history will not be written to the history file on disk. To enable it, either set ``$fish_private_mode`` to a non-empty value, or launch with ``fish --private`` (or ``fish -P`` for short).
|
||||
|
||||
You can also launch with ``fish --private`` (or ``fish -P`` for short). This both hides old history and prevents writing history to disk. This is useful to avoid leaking personal information (e.g. for screencasts) or when dealing with sensitive information.
|
||||
If you launch fish with ``-P``, it both hides old history and prevents writing history to disk. This is useful to avoid leaking personal information (e.g. for screencasts) or when dealing with sensitive information.
|
||||
|
||||
You can query the variable ``fish_private_mode`` (``if test -n "$fish_private_mode" ...``) if you would like to respect the user's wish for privacy and alter the behavior of your own fish scripts.
|
||||
|
||||
|
|
Loading…
Reference in a new issue