Skip to content

Commit

Permalink
feat: use GNU tar instead of tar --no-mac-metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Larson <[email protected]>
  • Loading branch information
LucasLarson committed May 27, 2024
1 parent 07621f1 commit 8de6c84
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ brew "glib"
brew "gmp"
# GNU implementation of the famous stream editor
brew "gnu-sed"
# GNU version of the tar archiving utility
brew "gnu-tar"
# Open source programming language to build simple/reliable/efficient software
brew "go"
# GNU grep, egrep and fgrep
Expand Down
7 changes: 7 additions & 0 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,13 @@ if command -v -- brew >/dev/null 2>&1; then
PATH="${HOMEBREW_PREFIX-}"'/opt/gnu-sed/libexec/gnubin'"${PATH:+:${PATH-}}"
test -d "${HOMEBREW_PREFIX-}"'/opt/gnu-sed/libexec/gnuman' &&
MANPATH="${HOMEBREW_PREFIX-}"'/opt/gnu-sed/libexec/gnuman'"${MANPATH:+:${MANPATH-}}"

# GNU tar
# otherwise `tar` requires `tar --no-mac-metadata`
test -d "${HOMEBREW_PREFIX-}"'/opt/gnu-tar/libexec/gnubin' &&
PATH="${HOMEBREW_PREFIX-}"'/opt/gnu-tar/libexec/gnubin'"${PATH:+:${PATH-}}"
test -d "${HOMEBREW_PREFIX-}"'/opt/gnu-tar/libexec/gnuman' &&
MANPATH="${HOMEBREW_PREFIX-}"'/opt/gnu-tar/libexec/gnuman'"${MANPATH:+:${MANPATH-}}"
fi

## Rust
Expand Down

0 comments on commit 8de6c84

Please sign in to comment.