mirror of
https://github.com/fsquillace/junest.git
synced 2026-08-10 22:04:47 +00:00
3
Automatic fallback to Junest for not found commands in the native Linux system
Rushab Shah edited this page 2018-12-12 17:35:02 +05:30
Drop this in your shell's config:
For ZSH:
function command_not_found_handler(){
junest -f -- $@ || echo "Command not found:" + $1
}
For BASH:
function command_not_found_handle(){
junest -f -- $@ || echo "Command not found:" + $1
}
And now any commands that are not found on your native linux system, get tried inside of junest!