Initial commit, modular zsh config easy to extend with extra behaviours
This commit is contained in:
commit
df6164e3aa
22 changed files with 154 additions and 0 deletions
17
home/.zsh/login/path
Normal file
17
home/.zsh/login/path
Normal file
|
@ -0,0 +1,17 @@
|
|||
#! zsh
|
||||
|
||||
path=(/usr/local/bin $path)
|
||||
if whence brew >/dev/null; then
|
||||
path=(
|
||||
/usr/local/opt/coreutils/libexec/gnubin
|
||||
/usr/local/sbin
|
||||
~/Library/Python/*/bin
|
||||
$path
|
||||
)
|
||||
fi
|
||||
|
||||
path=(/usr/local/texlive/20*/bin/universal-* $path)
|
||||
path=(~/bin ~/.bin ~/.local/bin $path)
|
||||
|
||||
# filter out duplicates, nonexistent directories, and . (the current directory)
|
||||
path=(${(u)^path:#.}(N))
|
Loading…
Add table
Add a link
Reference in a new issue