mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
functions/fish_update_completions: Stop cleaning up in ~/.config
That seems suspect. It removes files starting with "# Autogenerated", but those files usually do not show up in ~/.config - they're in ~/.local/share. So let's be careful and not mess with the user's config. (I'm pretty sure that the previous commit re-enabled cleanup as the `~` was quoted before then) [ci skip]
This commit is contained in:
parent
4b6c682b2d
commit
ddc0e68f29
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
function fish_update_completions --description "Update man-page based completions"
|
function fish_update_completions --description "Update man-page based completions"
|
||||||
# Don't write .pyc files, use the manpath, clean up old completions
|
# Don't write .pyc files, use the manpath, clean up old completions
|
||||||
# display progress.
|
# display progress.
|
||||||
set -l update_args -B $__fish_data_dir/tools/create_manpage_completions.py --manpath --cleanup-in ~/.config/fish/completions --cleanup-in ~/.config/fish/generated_completions --progress $argv
|
set -l update_args -B $__fish_data_dir/tools/create_manpage_completions.py --manpath --cleanup-in ~/.config/fish/generated_completions --progress $argv
|
||||||
if command -qs python3
|
if command -qs python3
|
||||||
python3 $update_args
|
python3 $update_args
|
||||||
else if command -qs python2
|
else if command -qs python2
|
||||||
|
|
Loading…
Reference in a new issue