From 6e08975dbdb2fe1d976fdb5468d095fec2e6fe26 Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Sun, 9 Dec 2018 20:35:10 +0100 Subject: [PATCH] 40_path: Look for Linuxbrew Look for Linuxbrew (http://linuxbrew.sh) and adjust PATH and MANPATH, when found. --- core/40_path/40_path.zprofile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/40_path/40_path.zprofile b/core/40_path/40_path.zprofile index 313b64d..407f3e8 100644 --- a/core/40_path/40_path.zprofile +++ b/core/40_path/40_path.zprofile @@ -18,6 +18,10 @@ for d ( /usr/local/sbin /opt/*/bin(NOn) /opt/*/sbin(NOn) + /home/linuxbrew/.linuxbrew/bin + /home/linuxbrew/.linuxbrew/sbin + ~/.linuxbrew/bin + ~/.linuxbrew/sbin ~/.gem/ruby/*/bin(NOn) ~/.local/bin ~/bin @@ -42,6 +46,8 @@ if [[ $? -ne 0 ]]; then for d ( ~/share/man ~/man + ~/.linuxbrew/share/man + /home/linuxbrew/.linuxbrew/share/man /opt/*/share/man(NOn) /opt/*/man(NOn) /usr/share/man -- 2.39.2