Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function command_not_found_handler() {
new=`~/bin/expand $*`
if [ $? -ne 0 ]; then
echo "=> $new"
eval $new
return 0
fi
return 127
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment