Skip to content

Commit

Permalink
perf: Replace subshell with POSIX Parameter expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
hyperupcall committed Jan 5, 2024
1 parent 81b21fc commit 313db87
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions try
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
# https://github.com/binpash/try

TRY_VERSION="0.2.0"
TRY_COMMAND="$(basename "$0")"
export TRY_COMMAND
export TRY_COMMAND="${0##*/}"

# exit status invariants
#
Expand Down

0 comments on commit 313db87

Please sign in to comment.