From 6b0b8f738e7e9f934d53225082457ab58c4772d0 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Fri, 23 Jun 2023 22:09:43 +0200 Subject: [PATCH] zsh:diffcmds(): Rephrase comment to be more clear --- .config/zsh/zshrc.d/40-functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/zsh/zshrc.d/40-functions.zsh b/.config/zsh/zshrc.d/40-functions.zsh index c8f7792..715476e 100644 --- a/.config/zsh/zshrc.d/40-functions.zsh +++ b/.config/zsh/zshrc.d/40-functions.zsh @@ -661,7 +661,7 @@ diffcmds() { return 1 fi - # Append arguments at the back if no `%%` was passed + # Place arguments at the back if no position was supplied with `%%` if [[ ! "${@:1:$((i-1))}" =~ '%%' ]]; then set -- "${@:1:$((i-1))}" "%%" "${@:$i}" let i++