From 0cf2eaec00323af4c9af97528ca0391b1b62d7ce Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Thu, 6 Aug 2020 16:21:51 -0400 Subject: Add in a pwgen specifically for banks that have stupid character restrictions --- shell/aliases | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'shell') diff --git a/shell/aliases b/shell/aliases index f5aa9e0..97eea7e 100644 --- a/shell/aliases +++ b/shell/aliases @@ -25,6 +25,11 @@ setaliases() { # Fun fact, Gnucash doesn't play nice when built against musl as a libc... # go figure alias gnucash_locale_fix='export LC_ALL=C; unset LANGUAGE; gnucash' + pwgenForBanks() { + set -x + pwgen -r '[-#{};[:"'"'"'^()?><.|\/,`=]' -ncsy "$@" + set +x + } if [ "$(uname)" = "Linux" ] ; then # Sets capslock to be another control key, only works with PS2 keyboards -- cgit v1.2.3