From 237de54de0a1deb1520bc706a3ea37e211b74601 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hendrik=20J=C3=A4ger?= Date: Wed, 25 Jan 2023 16:36:41 +0100 Subject: [PATCH 1/1] fix: simplify by removing command substitution and echo; unset PROMPT_EOL_MARK to prevent % at the EOL --- .zsh_functions/henkspwgen | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2