Added mkpasswd command

This commit is contained in:
madmaurice 2015-06-16 16:18:49 +02:00
parent 15b8412d76
commit c26007ebbc

6
zshrc
View file

@ -31,6 +31,12 @@ runfor() {
done done
} }
mkpasswd() {
LEN=${1:-30}
cat /dev/urandom | base64 | head -n 1 | cut -c -$LEN
}
export EDITOR="vim" export EDITOR="vim"
# Load any local only zshrc # Load any local only zshrc