dotfiles/home/shrc.d/functions
2023-06-04 07:12:58 +02:00

11 lines
173 B
Text

# 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
}