Skip to content

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