pwgen
This commit is contained in:
parent
81b1f9529c
commit
9974f0a99d
1 changed files with 5 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
# generate passwords
|
||||
pwg() {
|
||||
pwg() { sh_a__pass_word_gen "${@}"; }
|
||||
sh_a__pass_word_gen() {
|
||||
pwgen \
|
||||
-1 \
|
||||
--num-passwords 1048576 \
|
||||
|
@ -8,8 +9,9 @@ pwg() {
|
|||
}
|
||||
|
||||
# generate passwords with symbols
|
||||
pwgs() {
|
||||
pwg \
|
||||
pwgs() { sh_a__pass_word_gen_symbols "${@}"; }
|
||||
sh_a__pass_word_gen_symbols() {
|
||||
sh_a__pass_word_gen \
|
||||
--symbols \
|
||||
"${@}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue