autojump icon indicating copy to clipboard operation
autojump copied to clipboard

Command does not change dir and it outputs a "."

Open Carla08 opened this issue 7 years ago • 7 comments

After instalation on Mac using homebrew, I followed the instructions of adding the extras lines on my .bash_profile. When trying the command it only outputted "."

Then I tried again with the manual instalation, still no success.

Carla08 avatar Aug 29 '17 19:08 Carla08

Have you already visited the folders manually you want to autojump in after the installation?

phiranf avatar Aug 30 '17 12:08 phiranf

I have to same problem. I can't go to any other folder, not even with cd. It just outputs . non-stop. I have to kill it with Ctrl-C My env: macOS High Sierra(10.13.2). iTtem 2 version 3.1.5. zsh 5.3.1 (x86_64-apple-darwin16.3.0)

ChrisZou avatar Jan 08 '18 10:01 ChrisZou

What's the output of j -s | wc -l? What happens when you try to jump to one of the entries in j -s?

wting avatar Sep 07 '18 01:09 wting

I have the same problem. The output of j -s is :

~$ j -s
________________________________________

0:	 total weight
0:	 number of entries
0.00:	 current directory weight

data:	 /Users/foo/Library/autojump/autojump.txt

I'm using Mac, bash version 5.0.0(1)-release

yingbo avatar Jan 15 '19 16:01 yingbo

I have to same problem. I can't go to any other folder, not even with cd. It just outputs . non-stop. I have to kill it with Ctrl-C My env: macOS High Sierra(10.13.2). iTtem 2 version 3.1.5. zsh 5.3.1 (x86_64-apple-darwin16.3.0)

Turned out it was because I had an alias jc="cd ..." which conflicted with autojump's jc function, thus caused the cd command recursion. 😅 Sorry about that!

ChrisZou avatar Jan 26 '19 08:01 ChrisZou

Still the same in 2023.

sakurawald avatar May 08 '23 13:05 sakurawald

I just installed autojump v22.5.3 using Homebrew on macOS Ventura 13.4 with the autojump plugin (commit 4c82a2eedf0c43d47601ffa8b0303ed1326fab8f) for oh-my-zsh in zsh, and I'm having the same issue.

If I type j <anything> (unless it's an option like -s), all it outputs is . and it stays in the same directory.

remino avatar Jun 28 '23 04:06 remino