aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vladimír Čunát <vcunat@gmail.com>2016-05-08 13:51:30 +0200
committerGravatar Fabian Homborg <FHomborg@gmail.com>2016-05-08 13:51:30 +0200
commit100eef4e426402ebde1040dbfab8ded5a20854d1 (patch)
treeeae1fdcb7be06a693a14f869405931c05c6f236a
parent59c8800c4d0c77d8f6490f47b78e9465aaa474e4 (diff)
docs: fix location of generated_completions (#3010)
-rw-r--r--doc_src/index.hdr.in2
-rwxr-xr-xshare/tools/create_manpage_completions.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc_src/index.hdr.in b/doc_src/index.hdr.in
index 5e4d7724..ff014136 100644
--- a/doc_src/index.hdr.in
+++ b/doc_src/index.hdr.in
@@ -396,7 +396,7 @@ By default, Fish searches the following for completions, using the first availab
- A directory for systems administrators to install completions for all users on the system, usually `/etc/fish/completions`;
- A directory for third-party software vendors to ship their own completions for their software, usually `/usr/share/fish/vendor_completions.d`;
- The completions shipped with fish, usually installed in `/usr/share/fish/completions`; and
-- Completions automatically generated from the operating system's manual, usually stored in `~/.local/share/generated_completions`.
+- Completions automatically generated from the operating system's manual, usually stored in `~/.local/share/fish/generated_completions`.
These paths are controlled by parameters set at build, install, or run time, and may vary from the defaults listed above.
diff --git a/share/tools/create_manpage_completions.py b/share/tools/create_manpage_completions.py
index 471205fe..bd15eaeb 100755
--- a/share/tools/create_manpage_completions.py
+++ b/share/tools/create_manpage_completions.py
@@ -903,7 +903,7 @@ def usage(script_name):
-h, --help\t\tShow this help message
-v, --verbose [0, 1, 2]\tShow debugging output to stderr. Larger is more verbose.
-s, --stdout\tWrite all completions to stdout (trumps the --directory option)
- -d, --directory [dir]\tWrite all completions to the given directory, instead of to ~/.config/fish/generated_completions
+ -d, --directory [dir]\tWrite all completions to the given directory, instead of to ~/.local/share/fish/generated_completions
-m, --manpath\tProcess all man1 and man8 files available in the manpath (as determined by manpath)
-p, --progress\tShow progress
""")