comparison zshrc @ 119:7e18562d7570

Improve gitconfig
author zegervdv <zegervdv@me.com>
date Mon, 22 Sep 2014 10:26:58 +0200
parents cdff2a5e45b2
children 474a8dbb1ac5
comparison
equal deleted inserted replaced
118:17c53827a2e1 119:7e18562d7570
141 alias tmux='nocorrect tmux' 141 alias tmux='nocorrect tmux'
142 alias mvim="reattach-to-user-namespace mvim" 142 alias mvim="reattach-to-user-namespace mvim"
143 alias vim="reattach-to-user-namespace vim" 143 alias vim="reattach-to-user-namespace vim"
144 # alias ag="ag --color" 144 # alias ag="ag --color"
145 alias dot="cd ~/.dotfiles" 145 alias dot="cd ~/.dotfiles"
146 alias ranger="EDITOR=mvim ranger"
146 147
147 # ag tab complete 148 # ag tab complete
148 _ag() { 149 _ag() {
149 if (( CURRENT == 2 )); then 150 if (( CURRENT == 2 )); then
150 compadd $(cut -f 1 .git/tags tmp/tags 2>/dev/null | grep -v '!_TAG') 151 compadd $(cut -f 1 .git/tags tmp/tags 2>/dev/null | grep -v '!_TAG')