From ddd0c3ac1fe7c608c7d6827af2d00b9dcbc1fa4d Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 3 Mar 2020 10:21:45 +0100 Subject: .zsh.before/path.zsh: Adding a few GNU tools to PATH, if they were installed via brew. --- .zsh.before/path.zsh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.zsh.before') 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" -- cgit v1.2.3-54-g00ecf