From: Assaf Ben-Amitai Date: Sat, 4 Sep 2021 23:50:31 +0000 (+0300) Subject: fix jump cd to use seperate params (#1156) X-Git-Tag: v4.3~20 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=d34741107ac0691e92b28462db5b9ea49e475e70;p=nnn.git fix jump cd to use seperate params (#1156) --- 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 : "