From: Cameron Katri Date: Sat, 17 Jul 2021 18:20:31 +0000 (-0400) Subject: Set PATH in .zprofile, dotgit not dotconfig X-Git-Url: https://git.cameronkatri.com/dotfiles.git/commitdiff_plain/d03395f29aa612e754cbe424730b0b9394de29a1?hp=b430a437b3243b7e341ee08a690a1c870b7ee898 Set PATH in .zprofile, dotgit not dotconfig --- diff --git a/.zprofile b/.zprofile new file mode 100644 index 0000000..e43a344 --- /dev/null +++ b/.zprofile @@ -0,0 +1,5 @@ +export GOPATH=$HOME/Documents/go +export PATH="$GOPATH/bin:$PATH" +export PATH="/usr/local/llvm12/bin:$PATH" +export PATH="/usr/local/libexec/apple/bin:$PATH" +export PATH="$HOME/.local/bin:/usr/local/libexec/ccache:/opt/limd/bin:$PATH" diff --git a/.zshrc b/.zshrc index bb71096..bd9fa86 100755 --- a/.zshrc +++ b/.zshrc @@ -65,8 +65,6 @@ setxkbmap -option compose:rctrl export GPG_TTY=$(tty) -export GOPATH=$HOME/Documents/go - # Completion for kitty kitty + complete setup zsh | source /dev/stdin @@ -94,11 +92,4 @@ fi export CVS_RSH=ssh -alias dotconfig='git --git-dir=$HOME/Documents/dotfiles --work-tree=$HOME' - -# Set PATH after everthing else. -export PATH="$GOPATH/bin:$PATH" -export PATH="/usr/local/llvm12/bin:$PATH" -export PATH="/usr/local/libexec/apple/bin:$PATH" -export PATH="$HOME/.local/bin:/usr/local/libexec/ccache:/opt/limd/bin:$PATH" -typeset -U path +alias dotgit='git --git-dir=$HOME/Documents/dotfiles --work-tree=$HOME'