carapace-bin
carapace-bin copied to clipboard
fish: erased functions still get autoloaded
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
workaround:
touch ~/.config/fish/completions/chown.fish