rwx/sh/alias/pwgen.sh

18 lines
298 B
Bash
Raw Normal View History

# generate passwords
pwg() { a__pass_word_gen "${@}"; }
a__pass_word_gen() {
pwgen \
-1 \
--num-passwords 1048576 \
--secure \
"${@}"
}
# generate passwords with symbols
pwgs() { a__pass_word_gen_symbols "${@}"; }
a__pass_word_gen_symbols() {
a__pass_word_gen \
--symbols \
"${@}"
}