16 lines
227 B
Text
16 lines
227 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
|
|
}
|
|
|
|
# sh
|
|
set-display() {
|
|
export DISPLAY=":${1:-1}"
|
|
}
|
|
|