upto icon indicating copy to clipboard operation
upto copied to clipboard

handle duplicates in $PWD

Open blaenk opened this issue 9 years ago • 2 comments

Currently if you're in a directory that has multiple ancestor directories with the same name it'll always jump to the highest one, the closest one to the root. Perhaps there should be a way to disambiguate the duplicates.

blaenk avatar May 05 '16 22:05 blaenk

At the moment, the only way to disambiguate is to add something else to the pattern.

e.g. Directory: a/b/c/test/d/test/e/f upto d/test will go to the lower one. upto test will go to the higher one.

Probably the default behavior is incorrect and it should stop at the first one. If this was the behavior I cannot think of a faster way for a user than to just repeat the command if you want to go to the higher one.

Any ideas?

driv avatar May 05 '16 22:05 driv

Yeah that would probably be best, to stop at the first one, then they can repeat.

blaenk avatar May 05 '16 22:05 blaenk