From 8abd0319fb36d62c748464f6b1031654d6d5884c Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Wed, 23 Aug 2023 23:08:56 +0200 Subject: [PATCH] docs: Some slight rewordings --- doc_src/index.rst | 4 ++-- doc_src/interactive.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc_src/index.rst b/doc_src/index.rst index 9ffe76c52..488a0b3a9 100644 --- a/doc_src/index.rst +++ b/doc_src/index.rst @@ -25,9 +25,9 @@ If this is your first time using fish, see the :ref:`tutorial `. If you are already familiar with other shells like bash and want to see the scripting differences, see :ref:`Fish For Bash Users `. -For a comprehensive overview of fish's scripting language, see :ref:`The Fish Language `. +For an overview of fish's scripting language, see :ref:`The Fish Language `. If it would be useful in a script file, it's here. -For information on using fish interactively, see :ref:`Interactive use `. +For information on using fish interactively, see :ref:`Interactive use `. 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. diff --git a/doc_src/interactive.rst b/doc_src/interactive.rst index daebca254..2d474d95d 100644 --- a/doc_src/interactive.rst +++ b/doc_src/interactive.rst @@ -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.