Skip to content

Prefer Bash built-in way of changing to the script's directory#4

Merged
AaronMcHale merged 1 commit intomainfrom
prefer-bash-builtin-for-cd
Mar 8, 2026
Merged

Prefer Bash built-in way of changing to the script's directory#4
AaronMcHale merged 1 commit intomainfrom
prefer-bash-builtin-for-cd

Conversation

@AaronMcHale
Copy link
Owner

Rather than calling dirname we can use a Bash built-in sub-string method.

@AaronMcHale AaronMcHale merged commit 46810fd into main Mar 8, 2026
2 checks passed
@AaronMcHale AaronMcHale deleted the prefer-bash-builtin-for-cd branch March 8, 2026 14: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.

1 participant