aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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'