From eb4a248169a662a00377e192c8124f47d246b834 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 8 Feb 2018 13:07:29 +0100 Subject: .zsh.before/path.zsh: Adding /usr/sbin to PATH because of stupid Debilian... --- .zsh.before/path.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zsh.before/path.zsh b/.zsh.before/path.zsh index f87ba45..9a99817 100644 --- a/.zsh.before/path.zsh +++ b/.zsh.before/path.zsh @@ -4,10 +4,10 @@ autoload -U regexp-replace if [[ "$PATH" != *dave/bin:/usr/local/sbin* ]];then case "$PATH" in */usr/local/bin:/usr/local/sbin*) - regexp-replace PATH '/usr/local/bin:/usr/local/sbin:' '$HOME/bin:/usr/local/sbin:/usr/local/bin:' + regexp-replace PATH '/usr/local/bin:/usr/local/sbin:' '$HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:' ;; */usr/local/sbin:/usr/local/bin*) - regexp-replace PATH '/usr/local/sbin:/usr/local/bin:' '$HOME/bin:/usr/local/sbin:/usr/local/bin:' + regexp-replace PATH '/usr/local/sbin:/usr/local/bin:' '$HOME/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:' ;; esac fi -- cgit v1.2.3-70-g09d2