.zshrc: Always add BasicTex to PATH

I'm sick of all these conditionals running during shell initialization—my
zsh takes several seconds to start!
This commit is contained in:
Alan Orth 2018-01-14 13:13:43 +02:00
parent 3e77f245c7
commit 38da7a416d
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 2 additions and 2 deletions

4
.zshrc
View File

@ -39,9 +39,9 @@ if [[ "$OSTYPE" =~ ^darwin.*$ ]]; then
alias grep='ggrep'
# If BasicTeX installation exists, add it to PATH
# Add BasicTeX to PATH
# See: https://tug.org/mactex/morepackages.html
[[ -d /usr/local/texlive/2016basic/bin/x86_64-darwin ]] && PATH=$PATH:/usr/local/texlive/2016basic/bin/x86_64-darwin
PATH=$PATH:/usr/local/texlive/2016basic/bin/x86_64-darwin
PATH="/usr/local/opt/postgresql@9.5/bin:$PATH"
elif [[ "$OSTYPE" =~ ^linux.*$ ]]; then