wting / autojump

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

Symlinked dirs cause double-entry #599

Open bitwombat opened 4 years ago

bitwombat commented 4 years ago

If my / looks like:

/data
   └ /projects
/projects -> /data/projects

Where that second line is a symlink, then ~/.local/share/autojump/autojump.txt ends up with two entries (made up, ignore the numbers):

31.6227766016   /projects/get_rich
73.4846922836   /data/projects/get_rich

This makes autocomplete output doubled up and/or confusing.

Is there a way to avoid?

Thanks for maintaining autojump! I use it constantly.