Permalink
Browse files

check for .env file when we load shell

  • Loading branch information...
1 parent 86b1a2e commit 22336d9e4db09aeb625ee10e01e401ab7d713afb Lee Jarvis committed Apr 14, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 zshrc
View
@@ -47,13 +47,13 @@ be() {
fi
}
-chpwd() {
- if [[ -s "./.env" ]]; then source ./.env; fi
-}
+[[ -s "./.env" ]] && source ./.env
+chpwd() { [[ -s "./.env" ]] && source ./.env }
alias rake='be rake'
alias guard='be guard'
alias cap='be cap'
+alias foreman='be foreman'
if [[ -s "$HOME/.rvm/scripts/rvm" ]]; then
source "$HOME/.rvm/scripts/rvm"

0 comments on commit 22336d9

Please sign in to comment.