From c89609766b6d11da29fb69a1debea97b6e97ab74 Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Wed, 11 Nov 2015 19:54:30 -0800 Subject: [PATCH] add direnv; also global gitignore in the homedir --- git-files/gitconfig | 2 ++ mac-files/setup_mac.sh | 1 + zsh-files/zshrc | 2 ++ 3 files changed, 5 insertions(+) diff --git a/git-files/gitconfig b/git-files/gitconfig index cf1a103..2593ff7 100644 --- a/git-files/gitconfig +++ b/git-files/gitconfig @@ -10,3 +10,5 @@ fa = fetch --all [push] default = simple +[core] + excludesfile = ~/.gitignore diff --git a/mac-files/setup_mac.sh b/mac-files/setup_mac.sh index c832faf..4fcce3c 100755 --- a/mac-files/setup_mac.sh +++ b/mac-files/setup_mac.sh @@ -13,6 +13,7 @@ grab_dependencies() { user_command brew install caskroom/cask/brew-cask user_command brew install tmux user_command brew install ag + user_command brew install direnv user_command brew cask install hammerspoon user_command brew cask install karabiner user_command brew cask install seil diff --git a/zsh-files/zshrc b/zsh-files/zshrc index f05cfd7..0008e09 100644 --- a/zsh-files/zshrc +++ b/zsh-files/zshrc @@ -31,3 +31,5 @@ compinit zle -N fancy-ctrl-z bindkey '^Z' fancy-ctrl-z + +eval "$(direnv hook zsh)"