This commit is contained in:
Marc Beninca 2024-11-18 16:30:11 +01:00
parent 81b1f9529c
commit 9974f0a99d
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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 \
"${@}"
}