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

Completion is printed in a wrong way in some cases #301

Closed
maxfl opened this issue Aug 29, 2012 · 6 comments
Closed

Completion is printed in a wrong way in some cases #301

maxfl opened this issue Aug 29, 2012 · 6 comments
Milestone

Comments

@maxfl
Copy link
Contributor

maxfl commented Aug 29, 2012

It's a bit strange issue, that can be repeated only in some conditions. The simplest way I've found is the following:
Cd to your home, and complete some path inside another directory, when the completed options is not the last:

echo ./config/k<TAB> -o

What I see is that completion is added to the end of line, instead of the end of the first option:
…config/k -ode.org/ …config/k -oeepassx/

@ridiculousfish
Copy link
Member

Reproduces easily for me.

@ridiculousfish
Copy link
Member

Fixed here
To git@github.com:fish-shell/fish-shell.git
af9d611..e9c226b master -> master

Thanks!

@maxfl
Copy link
Contributor Author

maxfl commented Jan 14, 2013

Thanks!

But after this update there is another error:
path 'some/folder/'
is completed in the following way:
'some/folderfilea' instead of 'som/folder/filea'. Slash is missing.

I did not find the 'reopen button'. So I will make a separate issue later if needed.

@ridiculousfish
Copy link
Member

Indeed...that was fixed as 1db7c62, which I neglected to push until just now

@maxfl
Copy link
Contributor Author

maxfl commented Jan 14, 2013

wow. It was fast. Thanks! (:

@ridiculousfish
Copy link
Member

Nah, no need to thank me for mixing my own mistakes - thank you for taking the time to report them :)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants