Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Using the setup - source in the env, adjust default project root

  • Loading branch information...
commit 4fa61aca76fa50215762b846c9a7856b78f05206 1 parent fa66a57
Timothy Clem authored
Showing with 6 additions and 2 deletions.
  1. +6 −2 zsh/zshrc.symlink
8 zsh/zshrc.symlink
View
@@ -2,7 +2,7 @@
export ZSH=$HOME/.dotfiles
# your project folder that we can `c [tab]` to
-export PROJECTS=/Volumes/GitHub
+export PROJECTS=~/github
# source every .zsh file in this rep
for config_file ($ZSH/**/*.zsh) source $config_file
@@ -14,6 +14,11 @@ then
source ~/.localrc
fi
+# Load up The GitHub Setup's environment.
+if [ -f "/opt/github/env.sh" ]
+ then source "/opt/github/env.sh"
+fi
+
# initialize autocomplete here, otherwise functions won't be loaded
autoload -U compinit
compinit
@@ -23,6 +28,5 @@ setopt autolist
autoload -U edit-command-line
zle -N edit-command-line
bindkey '^Xe' edit-command-line
-# bindkey -M vicmd v edit-command-line
eval `direnv hook $0`
Please sign in to comment.
Something went wrong with that request. Please try again.