f00062ec1b
Why am I doing Kubernetes things, what has happened
19 lines
465 B
Bash
19 lines
465 B
Bash
#! zsh
|
|
path=(/usr/local/bin $path)
|
|
if (( $+commands[brew] )); then
|
|
path=(
|
|
/usr/local/opt/coreutils/libexec/gnubin
|
|
/usr/local/sbin
|
|
~/Library/Python/*/bin(N)
|
|
$path
|
|
)
|
|
fi
|
|
|
|
path=(/usr/local/texlive/20*/bin/*(N) $path)
|
|
path=(~/bin ~/.bin ~/.local/bin $path)
|
|
path+=(~/.krew/bin)
|
|
|
|
# Filter out nonexistent directories, . (the current directory), and duplicate
|
|
# paths - there should be no duplicates because of -U but just to be sure. ;)
|
|
path=(${(u)^path:#.}(N))
|