From d8465e0a865a1360ac6b299fd2daa05e6b96d34c Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Tue, 27 Jul 2021 16:52:11 -0400 Subject: [PATCH] document `--no-config` --- doc_src/cmds/fish.rst | 2 ++ share/completions/fish.fish | 1 + 2 files changed, 3 insertions(+) diff --git a/doc_src/cmds/fish.rst b/doc_src/cmds/fish.rst index d82d3e912..579195f14 100644 --- a/doc_src/cmds/fish.rst +++ b/doc_src/cmds/fish.rst @@ -29,6 +29,8 @@ The following options are available: - ``-l`` or ``--login`` specify that fish is to run as a login shell +- ``-N`` or ``--no-config`` do not read configuration files + - ``-n`` or ``--no-execute`` do not execute any commands, only perform syntax checking - ``-p`` or ``--profile=PROFILE_FILE`` when fish exits, output timing information on all executed commands to the specified file. This excludes time spent starting up and reading the configuration. diff --git a/share/completions/fish.fish b/share/completions/fish.fish index 2369dcdc3..feb20f273 100644 --- a/share/completions/fish.fish +++ b/share/completions/fish.fish @@ -2,6 +2,7 @@ complete -c fish -s c -l command -d "Run specified command instead of interactiv complete -c fish -s C -l init-command -d "Run specified command before session" -x -a "(__fish_complete_command)" complete -c fish -s h -l help -d "Display help and exit" complete -c fish -s v -l version -d "Display version and exit" +complete -c fish -s N -l no-config -d "Do not read configuration files" complete -c fish -s n -l no-execute -d "Only parse input, do not execute" complete -c fish -s i -l interactive -d "Run in interactive mode" complete -c fish -s l -l login -d "Run as a login shell"