From: Hendrik Jäger Date: Thu, 31 Dec 2020 08:47:08 +0000 (+0100) Subject: Add password generating function X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=798b7d4fd5b94b96dc54048cf316e62c835dcccb;p=user%2Fhenk%2Fvcsh%2Fzsh.git Add password generating function --- 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) +} +