Use a fuzzier glob to find TeXLive installation, the bin directory's name is different in TeXLive 2017

This commit is contained in:
Danielle McLean 2017-07-05 08:35:58 +10:00
parent a2a08d417a
commit 7637ff8ed3
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -9,7 +9,7 @@ if (( $+commands[brew] )); then
) )
fi fi
path=(/usr/local/texlive/20*/bin/universal-*(N) $path) path=(/usr/local/texlive/20*/bin/*(N) $path)
path=(~/bin ~/.bin ~/.local/bin $path) path=(~/bin ~/.bin ~/.local/bin $path)
# Filter out nonexistent directories, . (the current directory), and duplicate # Filter out nonexistent directories, . (the current directory), and duplicate