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/
This commit is contained in:
Wonicon 2015-09-25 21:19:27 +08:00 committed by Fabian Homborg
parent 5bb81461f6
commit 4f3ff3d77f

View file

@ -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/')