From 4d18bb3c123eeb9d427b23580c83f20ac85503c5 Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Tue, 25 Jun 2013 10:42:01 -0700 Subject: [PATCH] Add boxen env support --- .gitconfig | 8 +++++++- .zprofile | 6 +++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index 13b4f6b..8a638dc 100644 --- a/.gitconfig +++ b/.gitconfig @@ -11,6 +11,12 @@ cmd = mvimdiff path = /Users/hunner/local/bin/mvimdiff [core] - excludesfile = /Users/hunner/.gitignore_global + excludesfile = /opt/boxen/config/git/gitignore [push] default = current + +[credential] +helper = /opt/boxen/bin/boxen-git-credential + +[hub] +protocol = https diff --git a/.zprofile b/.zprofile index cf1948e..ab2642f 100644 --- a/.zprofile +++ b/.zprofile @@ -42,8 +42,8 @@ paths=(/usr/texbin /cat/bin /cat/games/bin /opt/csw/sbin /opt/csw/bin /opt/local/bin /usr/local/share/bin /usr/openwin/bin /usr/bin/X11 ~/Library/Haskell/bin /usr/local/bin/X11 /usr/openwin/bin/xview /opt/java/bin /opt/java5/bin /opt/java/jre/bin /opt/openoffice/program) -prepaths=(/usr/local/bin /usr/local/sbin ~/.cabal/bin ~/.rbenv/bin ~/local/bin -~/local/sbin ~/local/share/bin) +prepaths=(/usr/local/bin /usr/local/sbin ~/.cabal/bin ~/local/bin ~/local/sbin +~/local/share/bin) for dir in $paths ; do if [ -d $dir ] ; then export PATH=$PATH:$dir @@ -369,7 +369,7 @@ ex () { fi } -eval "$(rbenv init -)" +[ -f /opt/boxen/env.sh ] && source /opt/boxen/env.sh ## Profiling options #unsetopt xtrace #exec 2>&3 3>&-