diff --git a/sh/alias/pwgen.sh b/sh/alias/pwgen.sh index 4052d61..4c0b1f2 100644 --- a/sh/alias/pwgen.sh +++ b/sh/alias/pwgen.sh @@ -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 \ "${@}" }