Skip to content

Conversation

akinomyoga
Copy link
Collaborator

Commit b6de491 adds a check for the current working directory. Checking PWD isn't sufficient because PWD can be different from the actual current working directory.

Then, the second commit fixes the issue reported at #1426. command cd -- "$_original_pwd" was missing for the early return with the completion error by builtin compgen.

Fixes #1426.

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

Successfully merging this pull request may close these issues.

Completion can change working directory
1 participant