From d03395f29aa612e754cbe424730b0b9394de29a1 Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sat, 17 Jul 2021 14:20:31 -0400 Subject: Set PATH in .zprofile, dotgit not dotconfig --- .zprofile | 5 +++++ .zshrc | 11 +---------- 2 files changed, 6 insertions(+), 10 deletions(-) create mode 100644 .zprofile 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' -- cgit v1.2.3-56-ge451