Skip to content
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

Autocomplete entries show up twice or more #521

Closed
sparkbuzz opened this issue Feb 16, 2018 · 3 comments
Closed

Autocomplete entries show up twice or more #521

sparkbuzz opened this issue Feb 16, 2018 · 3 comments

Comments

@sparkbuzz
Copy link

sparkbuzz commented Feb 16, 2018

When I use j to auto complete, I often see multiple duplicated entries in bash, is there a way I can fix this? Here's some example output. I replaced the text below but you'll get the idea, one of the directories, shows up 3 times.

sparky at the-machine in ~
$ j helloworld
helloworld__1__/Users/sparky/Projects/helloworld <--
helloworld__2__/Users/sparky/Projects/helloworld <--
helloworld__3__/Users/sparky/Projects/helloworld/something/else
helloworld__4__/Users/sparky/Projects/helloworld/something
helloworld__5__/Users/sparky/Projects/helloworld <--
helloworld__6__/Users/sparky/Projects/helloworld/one
helloworld__7__/Users/sparky/Projects/helloworld/two
helloworld__8__/Users/sparky/Projects/helloworld/three
helloworld__9__/Users/sparky/Projects/helloworld/four

I'm using bash 4.4.12 on macOS High Sierra (10.13.2)

Note: When I run j -s there are no duplicates in the output.

@pablinos
Copy link

pablinos commented May 1, 2018

I've got this issue too and it appears that it throws the indexes out as jumping to one of the numbers in the list takes me a different directory in the list.

@Karmaki
Copy link

Karmaki commented Aug 2, 2018

I think that is a duplicate of #348.

@wting
Copy link
Owner

wting commented Sep 7, 2018

Closing as dupe of #348.

@wting wting closed this as completed Sep 7, 2018
@wting wting added the duplicate label Sep 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants