1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/home/shrc.d/functions
2023-06-17 16:55:04 +02:00

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