carapace-bin icon indicating copy to clipboard operation
carapace-bin copied to clipboard

fish: erased functions still get autoloaded

Open rsteube opened this issue 3 years ago • 1 comments

completions need to be invoked once before they can be replaced so that they are not autoloaded:

complete --do-complete 'chown ' > /dev/null
complete --erase -c 'chown'
complete -c 'chown' -f -a '(_carapace_lazy chown)'

needs: https://github.com/fish-shell/fish-shell/issues/6716

rsteube avatar Oct 24 '20 18:10 rsteube

workaround:

touch ~/.config/fish/completions/chown.fish

rsteube avatar Nov 15 '20 19:11 rsteube