aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-07-17 14:20:31 -0400
committerCameron Katri <me@cameronkatri.com>2021-07-17 14:20:31 -0400
commitd03395f29aa612e754cbe424730b0b9394de29a1 (patch)
tree30e760108892328e2c13f335d3e90d40ba8b2c50
parentb430a437b3243b7e341ee08a690a1c870b7ee898 (diff)
downloaddotfiles-d03395f29aa612e754cbe424730b0b9394de29a1.tar.gz
dotfiles-d03395f29aa612e754cbe424730b0b9394de29a1.tar.zst
dotfiles-d03395f29aa612e754cbe424730b0b9394de29a1.zip
Set PATH in .zprofile, dotgit not dotconfig
-rw-r--r--.zprofile5
-rwxr-xr-x.zshrc11
2 files changed, 6 insertions, 10 deletions
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'