Moved functions to an included directory

This commit is contained in:
Alex Kelly 2019-01-09 14:03:21 -05:00
parent b26356c839
commit c86326c065
3 changed files with 11 additions and 0 deletions

4
zsh/functions/prompt_git.sh Executable file
View file

@ -0,0 +1,4 @@
# Override the git prompt, because I don't want it in my left-hand prompt, and I can't use the variable to unset it for some reason
prompt_git() {
}

3
zsh/functions/qr.sh Executable file
View file

@ -0,0 +1,3 @@
qrnet () {
echo "WIFI:S:$1;T:WPA;$2;;"|curl -F-=\<- qrenco.de
}

4
zsh/functions/rand.sh Executable file
View file

@ -0,0 +1,4 @@
#quick and dirty random string generator
rand () {
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w ${1:-32} | head -n 1|tr -d '\n'
}