wting / autojump

A cd command that learns - easily navigate directories from the command line
Other
16.08k stars 703 forks source link

How to use auto jump with fish on Termux? #629

Closed forliuyifei closed 3 years ago

forliuyifei commented 3 years ago
Failed to execute process '/data/data/com.termux/files/home/.autojump/bin/autojump'. Reason:
The file '/data/data/com.termux/files/home/.autojump/bin/autojump' specified the interpreter '/usr/bin/env python', which is not an executable command.
[: Missing argument at index 2

~/.autojump/share/autojump/autojump.fish (line 53):
            if [ $output = "." ]
               ^
in function 'j' with arguments 'A'

(Type 'help [' for related documentation)
autojump: directory 'A' not found

Try `autojump --help` for more information.
pl643 commented 3 years ago

I came across this because I had python3 installed and don't have a python link to python3. The below fish snippet got me working. ln -sf (which python3) /bin/python

WayneTian-42 commented 2 years ago

I came across this because I had python3 installed and don't have a python link to python3. The below fish snippet got me working. ln -sf (which python3) /bin/python

Can you teach me how to fix this problem more detailedly? I'm new to fish and don't know what to do.