mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
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:
parent
5bb81461f6
commit
4f3ff3d77f
1 changed files with 1 additions and 1 deletions
|
@ -971,7 +971,7 @@ if __name__ == "__main__":
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if not WRITE_TO_STDOUT and not output_directory:
|
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
|
# Create it if it doesn't exist
|
||||||
xdg_data_home = os.getenv('XDG_DATA_HOME', '~/.local/share')
|
xdg_data_home = os.getenv('XDG_DATA_HOME', '~/.local/share')
|
||||||
output_directory = os.path.expanduser(xdg_data_home + '/fish/generated_completions/')
|
output_directory = os.path.expanduser(xdg_data_home + '/fish/generated_completions/')
|
||||||
|
|
Loading…
Reference in a new issue