mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 18:52:45 +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 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
6
zshrc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user