From d34741107ac0691e92b28462db5b9ea49e475e70 Mon Sep 17 00:00:00 2001 From: Assaf Ben-Amitai Date: Sun, 5 Sep 2021 02:50:31 +0300 Subject: [PATCH] fix jump cd to use seperate params (#1156) --- plugins/autojump | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/autojump b/plugins/autojump index 32a1f1f5..197f8c13 100755 --- a/plugins/autojump +++ b/plugins/autojump @@ -22,7 +22,8 @@ fi if type jump >/dev/null 2>&1; then printf "jump to : " IFS= read -r line - odir="$(jump cd "${line}")" + # shellcheck disable=SC2086 + odir="$(jump cd ${line})" printf "%s" "0c$odir" > "$NNN_PIPE" elif type autojump >/dev/null 2>&1; then printf "jump to : " -- 2.48.1