Machine specific config should be first

This commit is contained in:
Elizabeth Hunt 2023-04-02 18:10:34 -06:00
parent 58ab32c333
commit 52fb2ace60
Signed by: simponic
GPG Key ID: 52B3774857EB24B1
3 changed files with 14 additions and 4 deletions

5
.zshrc
View File

@ -1,3 +1,6 @@
# Machine specific config
[ -f ~/scripts/machine-specific-zsh/$(hostname).zsh ] && source ~/scripts/machine-specific-zsh/$(hostname).zsh
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
export PATH=$PATH:$HOME/scripts:$HOME/.local/bin:$HOME/.rowswell/bin export PATH=$PATH:$HOME/scripts:$HOME/.local/bin:$HOME/.rowswell/bin
@ -51,5 +54,3 @@ alias fuckctl="journalctl -fu"
alias sbcl="rlwrap sbcl" alias sbcl="rlwrap sbcl"
alias spt="spt --tick-rate 12" alias spt="spt --tick-rate 12"
# Machine specific config
[ -f ~/scripts/machine-specific-zsh/$(hostname).zsh ] && source ~/scripts/machine-specific-zsh/$(hostname).zsh

View File

@ -1,2 +0,0 @@
# Ah, mac utils
export PATH=$PATH:/usr/local/opt/binutils/bin:/usr/local/opt/gnu-tar/libexec/gnubin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/findutils/libexec/gnubin:/usr/local/opt/coreutils/libexec/gnubin:/usr/local/i386elfgcc/bin/

View File

@ -0,0 +1,11 @@
# Brew, gnuutils
export HOMEBREW_PREFIX="/opt/homebrew";
export HOMEBREW_CELLAR="/opt/homebrew/Cellar";
export HOMEBREW_REPOSITORY="/opt/homebrew";
export PATH="/opt/homebrew/bin:/opt/homebrew/sbin${PATH+:$PATH}";
export MANPATH="/opt/homebrew/share/man${MANPATH+:$MANPATH}:";
export INFOPATH="/opt/homebrew/share/info:${INFOPATH:-}";
export PATH="/opt/homebrew/opt/coreutils/libexec/gnubin:$PATH"
# asdf
. /opt/homebrew/opt/asdf/libexec/asdf.sh