When I write a command that does not exist in the fish shell (let's say l instead of ls), fish takes some time before responding that the command does not exist.I don't know if it looks for package to install or something else, but it is a bit annoying and I need to hit Ctrl-C to avoid waiting a few seconds.Is there a way to disable this feature, whatever it is?
Fish shell slow to respond when command does not exist
fish
Since the other answer does not work anymore, I found another solution which consists of adding this function in config.fish:function __fish_command_not_found_handler --on-event fish_command_not_found    echo fish: Unknown command '$argv'end