Migrate everything to GNU Stow locations instead of homeshick

This commit is contained in:
Danielle McLean 2016-10-03 22:52:15 +11:00
parent 54587a49ff
commit 82c930f4d5
No known key found for this signature in database
GPG key ID: CC91589719027E94
24 changed files with 1 additions and 5 deletions

17
.zsh/login/path Normal file
View 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))