summaryrefslogtreecommitdiff
path: root/.zsh_functions/henks_pwgen
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-02-22 11:37:18 +0100
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-02-22 11:37:18 +0100
commite5b5ca1f1628248349ef81a46abdf48be2a3330c (patch)
tree59a1ab0abcc863adbdf3a826716010c0fc892d46 /.zsh_functions/henks_pwgen
parentf9783cb5764dc1fba551fb577df0da08acd9e74a (diff)
fix: stick to namespace
Diffstat (limited to '.zsh_functions/henks_pwgen')
-rw-r--r--.zsh_functions/henks_pwgen2
1 files changed, 2 insertions, 0 deletions
diff --git a/.zsh_functions/henks_pwgen b/.zsh_functions/henks_pwgen
new file mode 100644
index 0000000..0f6d80c
--- /dev/null
+++ b/.zsh_functions/henks_pwgen
@@ -0,0 +1,2 @@
+PROMPT_EOL_MARK=
+(tr -cd '[:alnum:]' | head -c $1) < /dev/urandom