diff --git a/bash_profile b/bash_profile index 914ade7..69512ac 100644 --- a/bash_profile +++ b/bash_profile @@ -60,6 +60,12 @@ extract(){ fi } + +makepass(){ + cat /dev/urandom | base64 | head -c 20 + echo '' +} + mcd(){ mkdir -p $1 cd $1 diff --git a/zshrc b/zshrc index 86c2380..66b9ac9 100644 --- a/zshrc +++ b/zshrc @@ -129,6 +129,12 @@ save_dotfiles(){ cp ~/.zshrc ${DOTPATH}zshrc } + +makepass(){ + cat /dev/urandom | base64 | head -c 20 + echo '' +} + upgrade () { if [ ! $1 ] ; then print "local upgrade"