Browse Source

fixn git and zsh on macs

windhamdavid 8 years ago
parent
commit
eb315b0a7c
2 changed files with 16 additions and 0 deletions
  1. 1 0
      macs/.bash_profile
  2. 15 0
      macs/.zshrc

+ 1 - 0
macs/.bash_profile

@@ -1,4 +1,5 @@
 export PATH="/usr/local/bin:/usr/local/sbin:~/bin:/usr/local/share/npm/bin:$PATH"
+export PATH="/usr/local/git/bin:$PATH"
 export PATH="$HOME/bin:$PATH"
 export EDITOR="/usr/local/bin/mate -w"
 export PATH=$PATH:/usr/local/mysql/bin

+ 15 - 0
macs/.zshrc

@@ -1,6 +1,9 @@
 ZSH=$HOME/.oh-my-zsh
 export PATH="/usr/local/bin:/usr/local/sbin:~/bin:/usr/local/share/npm/bin:$PATH"
 export PATH=$HOME/bin:/usr/local/bin:$PATH
+export PATH="/usr/local/git/bin:$PATH"
+export PATH=/usr/local/share/npm/bin:$PATH
+export NODE_PATH=/usr/local/lib/node_modules
 
 ZSH_THEME="dpoggi"
 export EDITOR='mate -w'
@@ -30,3 +33,15 @@ plugins=(git textmate ruby rails node)
 # ssh
 # export SSH_KEY_PATH="~/.ssh/dsa_id"
 PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
+
+bindkey -v
+
+bindkey '^P' up-history
+bindkey '^N' down-history
+bindkey '^?' backward-delete-char
+bindkey '^h' backward-delete-char
+bindkey '^w' backward-kill-word
+bindkey '^r' history-incremental-search-backward
+
+
+export KEYTIMEOUT=1