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

Improved CDPATH #644

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Conversation

drbrain
Copy link
Contributor

@drbrain drbrain commented Oct 19, 2023

This updated c command supports:

  • Changing to the previous directory with c -
  • Changing to absolute directories
  • Completion of CDPATH entries
  • Completion of absolute paths
  • Completion of children

When completing CDPATH entries the parent directory is shown to provide context in case multiple CDPATH entries have the same child directory names.

Fixes #244

This updated `c` command supports:
* Changing to the previous directory with `c -`
* Changing to absolute directories
* Completion of CDPATH entries
* Completion of absolute paths
* Completion of children

When completing CDPATH entries the parent directory is shown to provide
context in case multiple CDPATH entries have the same child directory
names.
@drbrain drbrain mentioned this pull request Oct 19, 2023
@fdncred fdncred merged commit c93ce14 into nushell:main Oct 19, 2023
@fdncred
Copy link
Collaborator

fdncred commented Oct 19, 2023

👍🏻

@drbrain drbrain deleted the drbrain/cdpath-improvements branch October 19, 2023 17:00
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.

cd-path completion
2 participants