summaryrefslogtreecommitdiff
path: root/zshrc
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2015-06-23 15:53:21 -0400
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2015-06-23 15:53:21 -0400
commitab9a5d8939e7bf26af6da1b72b5ffc9dfd354ba0 (patch)
treea29598773b088fa6b91a6d8c0414f8bb283dfa29 /zshrc
parent86c566c5271a45f024d0684708cd3d6020e004d4 (diff)
Load zshrc.local before plugin initialization.
This is to allow zshrc.local to add things to fpath before compinit.
Diffstat (limited to 'zshrc')
-rwxr-xr-xzshrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/zshrc b/zshrc
index 41ae7aa..a5570a2 100755
--- a/zshrc
+++ b/zshrc
@@ -2,6 +2,10 @@
# ulimit -v 4194304 # 4G
# ulimit -u 1024
+if [[ -f $HOME/.zshrc.local ]]; then
+ source $HOME/.zshrc.local
+fi
+
source $HOME/dotfiles/zgen/zgen.zsh
# check if there's no init script
if ! zgen saved; then
@@ -47,10 +51,6 @@ fi
alias ff="fileutil --gfs_user=gfp-reporting"
alias diff=colordiff
-if [[ -f $HOME/.zshrc.local ]]; then
- source $HOME/.zshrc.local
-fi
-
export EDITOR=vim
export PAGER=less
export TZ='America/New_York'