diff options
author | Hendrik Jäger <hendrik.jaeger@dswiss.com> | 2020-12-31 09:47:08 +0100 |
---|---|---|
committer | Hendrik Jäger <hendrik.jaeger@dswiss.com> | 2020-12-31 09:47:08 +0100 |
commit | 798b7d4fd5b94b96dc54048cf316e62c835dcccb (patch) | |
tree | a5d31b83ae9ef499a115a7c66f20d816334dbba4 | |
parent | 1f3fa29bdde94706d98fdf48fe12d1431d43dc80 (diff) |
Add password generating function
-rw-r--r-- | .zsh_functions | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.zsh_functions b/.zsh_functions index ed0cddc..5e44334 100644 --- a/.zsh_functions +++ b/.zsh_functions @@ -101,3 +101,7 @@ function stardewpause () { done } +function henkpwgen () { + echo $( (tr -cd '[:alnum:]' | head -c $1) < /dev/urandom) +} + |