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

cd completion for path containing environment variables is broken #323

Closed
laggardkernel opened this issue May 30, 2019 · 1 comment
Closed

Comments

@laggardkernel
Copy link

laggardkernel commented May 30, 2019

cd $HOME/ and press Tab completes with filenames. After bash-completion is activated, this is broken.

After some searching, it turns out this is an old bug.

For the time being shopt -s direxpand could avoid this by expanding the variable to absolute path.

Besides, expansion for tilde like vim ~/.ssh is also broken, but vim ~/.ssh/ works.

@laggardkernel
Copy link
Author

Inactive, closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant