Skip to content

Commit

Permalink
feat: prefer uutils coreutils to GNU coreutils
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Larson <[email protected]>
  • Loading branch information
LucasLarson committed May 24, 2024
1 parent b4d8a52 commit c0a574d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ brew "tmux"
brew "tree"
# Ultra fast grep with query UI, fuzzy search, archive search, and more
brew "ugrep"
# Cross-platform Rust rewrite of the GNU coreutils
brew "uutils-coreutils", args: ["HEAD"]
# Image format providing lossless and lossy compression for web images
brew "webp"
# Internet file retriever
Expand Down
12 changes: 6 additions & 6 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -90,18 +90,18 @@ if command -v -- brew >/dev/null 2>&1; then
test -d "${HOMEBREW_PREFIX-}"'/opt/bc/share/man' &&
MANPATH="${HOMEBREW_PREFIX-}"'/opt/bc/share/man'"${MANPATH:+:${MANPATH-}}"

# uutils coreutils
test -d "${HOMEBREW_PREFIX-}"'/opt/uutils-coreutils/libexec/uubin' &&
PATH="${HOMEBREW_PREFIX-}"'/opt/uutils-coreutils/libexec/uubin'"${PATH:+:${PATH-}}"
test -d "${HOMEBREW_PREFIX-}"'/opt/uutils-coreutils/libexec/uuman' &&
MANPATH="${HOMEBREW_PREFIX-}"'/opt/uutils-coreutils/libexec/uuman'"${MANPATH:+:${MANPATH-}}"

# curl
test -d "${HOMEBREW_PREFIX-}"'/opt/curl/bin' &&
PATH="${HOMEBREW_PREFIX-}"'/opt/curl/bin'"${PATH:+:${PATH-}}"
test -d "${HOMEBREW_PREFIX-}"'/opt/curl/share/man' &&
MANPATH="${HOMEBREW_PREFIX-}"'/opt/curl/share/man'"${MANPATH:+:${MANPATH-}}"

# GNU coreutils
test -d "${HOMEBREW_PREFIX-}"'/opt/coreutils/libexec/gnubin' &&
PATH="${HOMEBREW_PREFIX-}"'/opt/coreutils/libexec/gnubin'"${PATH:+:${PATH-}}"
test -d "${HOMEBREW_PREFIX-}"'/opt/coreutils/libexec/gnuman' &&
MANPATH="${HOMEBREW_PREFIX-}"'/opt/coreutils/libexec/gnuman'"${MANPATH:+:${MANPATH-}}"

# file
test -d "${HOMEBREW_PREFIX-}"'/opt/file/bin' &&
PATH="${HOMEBREW_PREFIX-}"'/opt/file/bin'"${PATH:+:${PATH-}}"
Expand Down

0 comments on commit c0a574d

Please sign in to comment.