mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
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:
parent
1cec33227d
commit
6f6b189b6c
6
bashrc
6
bashrc
@ -564,6 +564,12 @@ alias pypypip=pippypy
|
|||||||
alias pypypip2=pippypy2
|
alias pypypip2=pippypy2
|
||||||
alias pypypip3=pippypy3
|
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 .
|
# Allow custom aliases to be put in .aliases or .bash_aliases .
|
||||||
|
|
||||||
# .aliases
|
# .aliases
|
||||||
|
6
zshrc
6
zshrc
@ -534,6 +534,12 @@ alias pypypip=pippypy
|
|||||||
alias pypypip2=pippypy2
|
alias pypypip2=pippypy2
|
||||||
alias pypypip3=pippypy3
|
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
|
# .aliases
|
||||||
if [ -f ~/.aliases ]; then
|
if [ -f ~/.aliases ]; then
|
||||||
source ~/.aliases
|
source ~/.aliases
|
||||||
|
Loading…
Reference in New Issue
Block a user