diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-01-25 16:36:41 +0100 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-01-25 16:36:41 +0100 |
commit | 237de54de0a1deb1520bc706a3ea37e211b74601 (patch) | |
tree | 4cb449608140d5ee676d35bce1108802a2193ffc /.zsh_functions | |
parent | 89676cc37123982ac4e8b4de22308dcef54f7ac7 (diff) |
fix: simplify by removing command substitution and echo; unset PROMPT_EOL_MARK to prevent % at the EOL
Diffstat (limited to '.zsh_functions')
-rw-r--r-- | .zsh_functions/henkspwgen | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.zsh_functions/henkspwgen b/.zsh_functions/henkspwgen index 584a706..0f6d80c 100644 --- a/.zsh_functions/henkspwgen +++ b/.zsh_functions/henkspwgen @@ -1 +1,2 @@ - echo $( (tr -cd '[:alnum:]' | head -c $1) < /dev/urandom) +PROMPT_EOL_MARK= +(tr -cd '[:alnum:]' | head -c $1) < /dev/urandom |