~dieggsy/dotfiles

ref: c15c62cd2026ee6afd497e89c28236736cfe02c8 dotfiles/zsh/.zpath -rwxr-xr-x 170 bytes
c15c62cddieggsy Tweak path 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
# -*- mode: sh -*-
pathadd () {
    if [ -d "$1" ] && ! (($path[(Ie)$1])); then
        path=($1 $path)
    fi
}

pathadd $HOME/.local/bin
pathadd $HOME/bin

export PATH