I have created a fish function named proot but there is an Ubuntu package with the same name.
When I type 'proot' into my fish shell, I get
~> proot The program 'proot' is currently not installed. You can install it by typing: sudo apt-get install proot
functions -n does show me my proot function, I just can't run it.
I have tried to run the equivalent of bash's
UNSET command_not_found_handle (
set -e command_not_found_handle in my config.fish), which should theoretically disable apt's prompting to install, but it doesn't seem to matter.
Is there a way to make a function name that conflicts with a package, or disable apt's prompting from within fish? (I have renamed to
groot and confirmed that it works just fine.)