mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-03 03:41:14 -03:00
simplify invoking create_manpage_completions.py
My previous change to avoid creating a *.pyc file when running create_manpage_completions.py was wrong because I put the `sys.dont_write_bytecode = True` on the wrong line. Rather than simply move that statement make the simpler, cleaner, fix that removes the need for `eval` where that program is invoked.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
function fish_update_completions --description "Update man-page based completions"
|
||||
# Clean up old paths
|
||||
eval (string escape $__fish_datadir/tools/create_manpage_completions.py) --manpath --progress --cleanup-in '~/.config/fish/completions' --cleanup-in '~/.config/fish/generated_completions'
|
||||
python -B $__fish_datadir/tools/create_manpage_completions.py --manpath --progress --cleanup-in '~/.config/fish/completions' --cleanup-in '~/.config/fish/generated_completions'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user