.profile.common

changeset 1067
08675f3a85f6
parent 1066
c826661721a8
child 1103
0c1f1cf78ed9
equal deleted inserted replaced
1066:c826661721a8 1067:08675f3a85f6
52 52
53 alias hgcd='cd $(hg root)' 53 alias hgcd='cd $(hg root)'
54 alias gcd='cd "$(git rev-parse --show-toplevel)"' 54 alias gcd='cd "$(git rev-parse --show-toplevel)"'
55 55
56 vg() { 56 vg() {
57 vim +copen -q <(ag --vimgrep "${@:?No pattern provided.}") 57 $EDITOR +copen -q <(ag --vimgrep "${@:?No pattern provided.}")
58 } 58 }
59 59
60 alias tmux-env='eval "$(tmux show-environment -s)"' 60 alias tmux-env='eval "$(tmux show-environment -s)"'
61 alias :e=vim 61 alias :e=$EDITOR
62 alias :q=exit 62 alias :q=exit
63 63
64 if [ -f ~/.profile.common.local ]; then 64 if [ -f ~/.profile.common.local ]; then
65 source ~/.profile.common.local 65 source ~/.profile.common.local
66 fi 66 fi

mercurial