mirror of
https://github.com/jarun/nnn.git
synced 2025-01-09 01:21:10 +00:00
plugin autojump: on jump - read entire line (#1155)
This commit is contained in:
parent
51829c8027
commit
7de52ff890
|
@ -21,8 +21,8 @@ fi
|
|||
|
||||
if type jump >/dev/null 2>&1; then
|
||||
printf "jump to : "
|
||||
read -r dir
|
||||
odir="$(jump cd "$dir")"
|
||||
IFS= read -r line
|
||||
odir="$(jump cd "${line}")"
|
||||
printf "%s" "0c$odir" > "$NNN_PIPE"
|
||||
elif type autojump >/dev/null 2>&1; then
|
||||
printf "jump to : "
|
||||
|
|
Loading…
Reference in a new issue