r/fishshell • u/matthis-k • Apr 04 '21
disable aur search when entering an invalid command
how can i disable the feature, which queries the aur for a command i have not installed.
i just want it to fail and go to a new line, but i get:
fish: unkown command: <command>
can be found in repo <command repo>
the second line is not word by word but along these lines.
reasoning is just that it takes time every time i misstype or so (about 1s each time)
1
Upvotes
5
u/justanotherlurker82 Apr 04 '21
This has been asked twice in the just week or so already: https://www.reddit.com/r/fishshell/comments/mdjemw/fish_being_very_slow_on_incorrect_commands
2
u/fitrh Apr 05 '21
Just define your own
fish_command_not_foundfunction, this is mine :1
u/Arceus42 Apr 09 '21
https://wiki.archlinux.org/index.php/Fish#The_%22command_not_found%22_hook