From: Hendrik Jäger Date: Wed, 25 Jan 2023 15:36:41 +0000 (+0100) Subject: fix: simplify by removing command substitution and echo; unset PROMPT_EOL_MARK to... X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=237de54de0a1deb1520bc706a3ea37e211b74601;p=user%2Fhenk%2Fvcsh%2Fzsh.git fix: simplify by removing command substitution and echo; unset PROMPT_EOL_MARK to prevent % at the EOL --- 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