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

[shell] use builtin cd to avoid conflicts #2799

Merged
merged 1 commit into from
Apr 22, 2022
Merged

[shell] use builtin cd to avoid conflicts #2799

merged 1 commit into from
Apr 22, 2022

Conversation

ajeetdsouza
Copy link
Contributor

Ever since #2659 was merged, the ALT-C command completes to cd -- /selected/path. The -- was added to prevent directories starting with - from being treated as options.

However, this also creates problems for people using tools like zoxide to replace their cd command (ajeetdsouza/zoxide#332). A more correct approach would be to use builtin cd.

@junegunn junegunn merged commit 5484124 into junegunn:master Apr 22, 2022
@junegunn
Copy link
Owner

Thanks!

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.

2 participants