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
|
# generate passwords
|
||||||
pwg() {
|
pwg() { sh_a__pass_word_gen "${@}"; }
|
||||||
|
sh_a__pass_word_gen() {
|
||||||
pwgen \
|
pwgen \
|
||||||
-1 \
|
-1 \
|
||||||
--num-passwords 1048576 \
|
--num-passwords 1048576 \
|
||||||
|
@ -8,8 +9,9 @@ pwg() {
|
||||||
}
|
}
|
||||||
|
|
||||||
# generate passwords with symbols
|
# generate passwords with symbols
|
||||||
pwgs() {
|
pwgs() { sh_a__pass_word_gen_symbols "${@}"; }
|
||||||
pwg \
|
sh_a__pass_word_gen_symbols() {
|
||||||
|
sh_a__pass_word_gen \
|
||||||
--symbols \
|
--symbols \
|
||||||
"${@}"
|
"${@}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue