1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-24 04:21:31 +01:00

zsh: avoid printing command name in completion wrapper

This commit is contained in:
bretello 2023-10-25 11:34:36 +02:00
parent ee531d18cd
commit c329308759

View File

@ -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