From c3293087591af11b866b794841766054d4633bb3 Mon Sep 17 00:00:00 2001 From: bretello Date: Wed, 25 Oct 2023 11:34:36 +0200 Subject: [PATCH] zsh: avoid printing command name in completion wrapper --- functions/misc.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/misc.zsh b/functions/misc.zsh index 22a8f45..ec75d89 100755 --- a/functions/misc.zsh +++ b/functions/misc.zsh @@ -224,7 +224,7 @@ __completion_wrapper(){ # completion functions local _completion_function=$1 local _completion_base=$2 - if ! command -v $_completion_function; then + if ! command -v $_completion_function &>/dev/null; then $_completion_base fi $_completion_function