-
Notifications
You must be signed in to change notification settings - Fork 705
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bash completion has duplicate entries #348
Comments
Got the same issue. |
Exactly the same. |
Same here |
same here |
1 similar comment
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. |
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 () {
if [[ -t 1 ]]
then
z "$@"
else
zoxide query "$@"
fi
} |
Here, I fixed it, cherry-pick and have fun! |
The order of completion suggestions must be according to the weights, yet `set` is unordered. Thus, sorting needs to be performed after de-duplicating. Fixes wting#348
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,The completion entries are identical, and there should be unique completion for it. I'm using the current HEAD (8b525c1).
The text was updated successfully, but these errors were encountered: