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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Use CDPATH if set #219

wants to merge 2 commits into from

Conversation

jbro
Copy link

@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
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.

None yet

1 participant