radix/files/bash/bash-functions

6 lines
222 B
Plaintext

tf() { setsid -f "$@" >/dev/null 2>&1 & disown; }
doas() { [ $# -eq 0 ] && $(which doas) -s || $(which doas) "$@"; }
man() { kak -e "evaluate-commands man $1"; }
zxz(){ printf "$1\n$(curl -F file=@$1 http://0x0.st)\n"; }