From 4f3ff3d77f5f46adc7621316138aa0173db25c22 Mon Sep 17 00:00:00 2001 From: Wonicon Date: Fri, 25 Sep 2015 21:19:27 +0800 Subject: Correct the comment on the default path According to the newer code below: xdg_data_home = os.getenv('XDG_DATA_HOME', '~/.local/share') the actual default path is ~/.local/share/fish/generated_completions/ --- share/tools/create_manpage_completions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/tools') diff --git a/share/tools/create_manpage_completions.py b/share/tools/create_manpage_completions.py index 376156ae..a4c31ba7 100755 --- a/share/tools/create_manpage_completions.py +++ b/share/tools/create_manpage_completions.py @@ -971,7 +971,7 @@ if __name__ == "__main__": sys.exit(0) if not WRITE_TO_STDOUT and not output_directory: - # Default to ~/.config/fish/generated_completions/ + # Default to ~/.local/share/fish/generated_completions/ # Create it if it doesn't exist xdg_data_home = os.getenv('XDG_DATA_HOME', '~/.local/share') output_directory = os.path.expanduser(xdg_data_home + '/fish/generated_completions/') -- cgit v1.2.3