dotfiles/home/shrc.d/functions

12 lines
173 B
Text
Raw Normal View History

# curl
function reveal-url {
curl "$1" -IL --silent | grep 'location: '
}
# zsh
command_not_found_handler() {
>&2 echo "bruh wtf is \"${1}\" o_O"
return 127
}