From 100eef4e426402ebde1040dbfab8ded5a20854d1 Mon Sep 17 00:00:00 2001 From: Vladimír Čunát Date: Sun, 8 May 2016 13:51:30 +0200 Subject: docs: fix location of generated_completions (#3010) --- doc_src/index.hdr.in | 2 +- share/tools/create_manpage_completions.py | 2 +- 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 """) -- cgit v1.2.3