aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@holoplot.com>2020-03-03 10:21:45 +0100
committerDavid Runge <david.runge@holoplot.com>2020-03-03 10:21:45 +0100
commitddd0c3ac1fe7c608c7d6827af2d00b9dcbc1fa4d (patch)
tree47333e4b2b90622f72912547e770feeec645e86e
parentb5eefb8fe474a501dd1396a68a02cb56e3dd865b (diff)
downloaddotfiles-ddd0c3ac1fe7c608c7d6827af2d00b9dcbc1fa4d.tar.gz
dotfiles-ddd0c3ac1fe7c608c7d6827af2d00b9dcbc1fa4d.tar.bz2
dotfiles-ddd0c3ac1fe7c608c7d6827af2d00b9dcbc1fa4d.tar.xz
dotfiles-ddd0c3ac1fe7c608c7d6827af2d00b9dcbc1fa4d.zip
.zsh.before/path.zsh: Adding a few GNU tools to PATH, if they were installed via brew.
-rw-r--r--.zsh.before/path.zsh8
1 files changed, 7 insertions, 1 deletions
diff --git a/.zsh.before/path.zsh b/.zsh.before/path.zsh
index f19b704..4db5668 100644
--- a/.zsh.before/path.zsh
+++ b/.zsh.before/path.zsh
@@ -8,4 +8,10 @@
[ -d "${HOME}/bin" ] && PATH="${HOME}/bin:${PATH}"
# Debilian
[ -d "/usr/sbin" ] && [ ! -L "/usr/sbin" ] && PATH="${PATH}:/usr/sbin"
-
+# whackOS
+[ -d "/usr/local/opt/coreutils/libexec/gnubin" ] && PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
+[ -d "/usr/local/opt/gnu-sed/libexec/gnubin" ] && PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
+[ -d "/usr/local/opt/gnu-tar/libexec/gnubin" ] && PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"
+[ -d "/usr/local/opt/gnu-which/libexec/gnubin" ] && PATH="/usr/local/opt/gnu-which/libexec/gnubin:$PATH"
+[ -d "/usr/local/opt/findutils/libexec/gnubin" ] && PATH="/usr/local/opt/findutils/libexec/gnubin:$PATH"
+[ -d "/usr/local/opt/grep/libexec/gnubin" ] && PATH="/usr/local/opt/grep/libexec/gnubin:$PATH"