]> arthur.barton.de Git - ax-zsh.git/blobdiff - core/40_path/40_path.zprofile
Fix core plugin numbering
[ax-zsh.git] / core / 40_path / 40_path.zprofile
diff --git a/core/40_path/40_path.zprofile b/core/40_path/40_path.zprofile
deleted file mode 100644 (file)
index 0349029..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-# AX-ZSH: Alex' Modular ZSH Configuration
-# 40_path.zprofile: Setup PATH environment
-
-# Set default PATH
-if [[ -x /usr/libexec/path_helper ]]; then
-       eval "$(/usr/libexec/path_helper)"
-else
-       PATH="/usr/sbin:/usr/bin:/sbin:/bin"
-fi
-typeset -Ux PATH
-
-# Prepend additional search paths
-for d (
-       /Developer/usr/bin
-       /usr/ucb
-       /usr/pkg/bin
-       /usr/local/bin
-       /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)
-       ~/.go/bin
-       ~/.cargo/bin
-       ~/.local/bin
-       ~/bin
-       ~/sbin
-       ~/Applications
-); do
-       [[ -d "$d" ]] && path=("$d" $path)
-done
-
-# Append additional search paths
-for d (
-       /usr/X11/bin
-       /usr/local/games
-       /usr/games
-); do
-       [[ -d "$d" ]] && path=($path "$d")
-done
-
-# Set default MANPATH
-MANPATH="$(manpath -q)" 2>/dev/null
-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
-               /usr/local/share/man
-       ); do
-               [[ -d "$d" ]] && manpath=($manpath "$d")
-       done
-fi
-typeset -Ux MANPATH