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