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

Use CDPATH if set #219

Merged
merged 2 commits into from
Jan 1, 2025
Merged

Use CDPATH if set #219

merged 2 commits into from
Jan 1, 2025

Conversation

jbro
Copy link
Contributor

@jbro jbro commented Sep 12, 2023

WHAT

Make enhancd aware of the CDPATH.

WHY

Currently when cd'ing with a folder that exists under the current current working directory enhancd enters that directory instead of pulling up the history widget. This change extends that to also check if the folder is under any of the paths listed in CDPATH, and enters the first found and skips the history widget.

@github-actions github-actions bot added area/bash Catch all for changes in bash files area/awk Catch all for changes in awk files missing/fish Denotes a PR that needs to include changes against missing area labels Sep 12, 2023
@github-actions github-actions bot added area/fish Catch all for changes in fish files and removed missing/fish Denotes a PR that needs to include changes against missing area labels Sep 12, 2023
@babarot babarot merged commit 576c0e5 into babarot:master Jan 1, 2025
@babarot
Copy link
Owner

babarot commented Jan 1, 2025

Thank you

@github-actions github-actions bot mentioned this pull request Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/awk Catch all for changes in awk files area/bash Catch all for changes in bash files area/fish Catch all for changes in fish files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants