autojump
autojump copied to clipboard
Bash completion has duplicate entries
Not sure if I am missing something, but here is my problem:
$ grep free ~/.local/share/autojump/autojump.txt
31.6227766016 /home/aprokop/local/opt/freemind-1.0.1
so there should only be a single completion for free. However,
$ j free<tab><tab>
free__1__/home/aprokop/local/opt/freemind-1.0.1 free__2__/home/aprokop/local/opt/freemind-1.0.1
The completion entries are identical, and there should be unique completion for it. I'm using the current HEAD (8b525c1).
Got the same issue.
Exactly the same.
Same here
same here
same here
Same problem.
+1
It is also happening with zsh.
The same issue in bash
+1 mac zsh
Same :s
same for me
Same for me in bash
This is definitely a nuisance and it seems like this tool isn't being maintained any more (@wting, correct me if I'm wrong about that).
Has anyone found an alternative that works better? I'm thinking that smart use of the NeoVim telescope plugin could mostly bypass the need for this tool.
Has anyone found an alternative that works better? I'm thinking that smart use of the NeoVim telescope plugin could mostly bypass the need for this tool.
I have been using https://github.com/ajeetdsouza/zoxide and it works great! There are also other good alternatives.
I've also switched to zoxide. I imported my entries to it and have a j function:
j () {
if [[ -t 1 ]]
then
z "$@"
else
zoxide query "$@"
fi
}
Here, I fixed it, cherry-pick and have fun!