aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.before
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2020-03-10 22:38:02 +0100
committerDavid Runge <dave@sleepmap.de>2020-03-10 22:38:02 +0100
commitca9b7f318fbad873fb8cb7767f87a0f16b72a47c (patch)
tree2758c0eeb3c267e593945469c7f0a9c77c84ebcd /.zsh.before
parent64fb68cf8542f554f431596762b337cbf85bc9fd (diff)
parented0cb6f5d91e0924a0136275ac9025f2696a451f (diff)
downloaddotfiles-ca9b7f318fbad873fb8cb7767f87a0f16b72a47c.tar.gz
dotfiles-ca9b7f318fbad873fb8cb7767f87a0f16b72a47c.tar.bz2
dotfiles-ca9b7f318fbad873fb8cb7767f87a0f16b72a47c.tar.xz
dotfiles-ca9b7f318fbad873fb8cb7767f87a0f16b72a47c.zip
Merge branch 'master' of sleepmap.de:dave/dotfiles
* 'master' of sleepmap.de:dave/dotfiles: Moving the setting of dircolors from .zprofile to .zshrc, as a successful export relies upon finding dircolors in PATH and for that PATH has to be setup properly (which is not the case, when .zprofile is sourced on macOS. .zsh.before/path.zsh: Adding a few GNU tools to PATH, if they were installed via brew. .zsh.after/export.zsh: If brew is found in PATH, export a few environment variables for it. .config/alacritty/alacritty.yml: Setting decorations to full, as otherwise the application is unusable on macOS.
Diffstat (limited to '.zsh.before')
-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"