A programming quote instead of "command not found"
Add this to your .zshrc
file (Haven't tested on other shells)
function command_not_found_handler() {
//on Mac
gshuf -n 1 path/to/code_quotes
//on other linux flavors
shuf -n 1 path/to/code_quotes
}
Make sure you have shuf/gshuf command. If you are on Mac OS X and you have coreutils installed, the shuf command will be available as gshuf
.
Get the code_quotes
file and set the correct path in .zshrc
file.
Source the .zshrc
file!!
Contribute by adding new quotes to the file!