commit d34741107ac0691e92b28462db5b9ea49e475e70
parent 7de52ff890e28159b7d7c0fdc36ce7337e58d3ae
Author: Assaf Ben-Amitai <assaf758@gmail.com>
Date: Sun, 5 Sep 2021 02:50:31 +0300
fix jump cd to use seperate params (#1156)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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 : "