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

chore: Various Bash improvements #1029

Merged
merged 1 commit into from
Feb 3, 2023
Merged

Conversation

hyperupcall
Copy link
Collaborator

@hyperupcall hyperupcall commented Jan 31, 2023

They mostly include

  • Use $PWD instead of $(pwd)
  • Better quoting
  • [ -n instead of [ ! -z
  • Adding -r to read

@hyperupcall hyperupcall changed the title chore: Various improvements chore: Various Bash improvements Jan 31, 2023
@spacewander spacewander merged commit 75d0dbf into tj:master Feb 3, 2023
@hyperupcall hyperupcall deleted the bash-improvements branch August 26, 2023 08:02
vanpipy pushed a commit to vanpipy/git-extras that referenced this pull request Sep 14, 2023
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