mirror of
https://github.com/jarun/nnn.git
synced 2024-11-27 21:31:30 +00:00
fix jump cd to use seperate params (#1156)
This commit is contained in:
parent
7de52ff890
commit
d34741107a
|
@ -22,7 +22,8 @@ fi
|
||||||
if type jump >/dev/null 2>&1; then
|
if type jump >/dev/null 2>&1; then
|
||||||
printf "jump to : "
|
printf "jump to : "
|
||||||
IFS= read -r line
|
IFS= read -r line
|
||||||
odir="$(jump cd "${line}")"
|
# shellcheck disable=SC2086
|
||||||
|
odir="$(jump cd ${line})"
|
||||||
printf "%s" "0c$odir" > "$NNN_PIPE"
|
printf "%s" "0c$odir" > "$NNN_PIPE"
|
||||||
elif type autojump >/dev/null 2>&1; then
|
elif type autojump >/dev/null 2>&1; then
|
||||||
printf "jump to : "
|
printf "jump to : "
|
||||||
|
|
Loading…
Reference in a new issue