From cab7aaba3751c126db32c69d1a96b376c95f8193 Mon Sep 17 00:00:00 2001 From: Karun Sandhu <129101708+MrSom3body@users.noreply.github.com> Date: Sun, 17 Nov 2024 11:27:16 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20command=20evaluation=20for?= =?UTF-8?q?=20pickers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bemoji | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bemoji b/bemoji index a472e0e..a3918c3 100755 --- a/bemoji +++ b/bemoji @@ -264,13 +264,13 @@ _typer() { _picker() { if [ -n "$BEMOJI_PICKER_CMD" ]; then # shellcheck disable=SC2068 - ${BEMOJI_PICKER_CMD[@]} + eval "${BEMOJI_PICKER_CMD[@]}" return fi for tool in "${!default_pickers[@]}"; do if command -v "$tool" >/dev/null 2>&1; then - ${default_pickers[$tool]} + eval "${default_pickers[$tool]}" return fi done