aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/autojump
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-02 23:13:56 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-02 23:36:08 +0530
commitc92c5c7b1576dd3ab13c055ed399ad0f09d74bbc (patch)
treeca7323488eb18be71f0d9af814e6ad23e1febbec /plugins/autojump
parente1c91e1aefc1a20e738fc1b4d5b2a612ff959ffd (diff)
downloadnnn-c92c5c7b1576dd3ab13c055ed399ad0f09d74bbc.tar.gz
Support toggle exe
Diffstat (limited to 'plugins/autojump')
-rwxr-xr-xplugins/autojump3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/autojump b/plugins/autojump
index b30530f..ef39dd9 100755
--- a/plugins/autojump
+++ b/plugins/autojump
@@ -15,5 +15,6 @@ if which autojump >/dev/null 2>&1; then
odir="$(autojump "$dir")"
printf "%s" "0$odir" > "$NNN_PIPE"
else
- exit 1
+ printf "autojump missing"
+ read -r _
fi