bashrc & zshrc: add apg-random

alias to generate random passwords with small letters, capital letters
and numbers of specified length.
This commit is contained in:
Mikaela Suomalainen 2014-09-11 09:32:02 +03:00
parent 1cec33227d
commit 6f6b189b6c
2 changed files with 12 additions and 0 deletions

6
bashrc
View File

@ -564,6 +564,12 @@ alias pypypip=pippypy
alias pypypip2=pippypy2
alias pypypip3=pippypy3
# apg with small letters, capital letters and numbers. I don't usually use
# special characters as they sometimes have difficulties with some systems
# and cross-platform operating systems.
# Usage: apt-random <minimum length>
alias apg-random="apg -a1 -M LCN -m"
# Allow custom aliases to be put in .aliases or .bash_aliases .
# .aliases

6
zshrc
View File

@ -534,6 +534,12 @@ alias pypypip=pippypy
alias pypypip2=pippypy2
alias pypypip3=pippypy3
# apg with small letters, capital letters and numbers. I don't usually use
# special characters as they sometimes have difficulties with some systems
# and cross-platform operating systems.
# Usage: apt-random <minimum length>
alias apg-random="apg -a1 -M LCN -m"
# .aliases
if [ -f ~/.aliases ]; then
source ~/.aliases