Update some aliases and make g function work

This commit is contained in:
Andrew Tomaka 2013-05-30 14:32:51 -04:00
parent 3313514fa4
commit 54d9c86198
3 changed files with 4 additions and 3 deletions

View file

@ -5,10 +5,12 @@ alias agL="dpkg --listfiles"
alias agu="sudo apt-get update && sudo apt-get upgrade" alias agu="sudo apt-get update && sudo apt-get upgrade"
alias al="zsh_stats" alias al="zsh_stats"
alias c="clear" alias c="clear"
alias g="g" # overwrite g alias in git plugin so function will work
alias ga="git add" alias ga="git add"
alias gaa="git add ." alias gaa="git add ."
alias gcf="git commit --file" alias gcf="git commit --file"
alias gcm="git commit --message" alias gcm="git commit --message"
alias gco="git checkout"
alias gd="git diff" alias gd="git diff"
alias gl="git log" alias gl="git log"
alias gh="git hist" alias gh="git hist"
@ -18,6 +20,7 @@ alias l="ls"
alias ll="ls -lv --human-readable --color=auto" alias ll="ls -lv --human-readable --color=auto"
alias mw="mux work" alias mw="mux work"
alias s="cd ~/Source" alias s="cd ~/Source"
alias sz="source ~/.zshrc"
alias t="tmux" alias t="tmux"
alias v="vim" alias v="vim"
alias x="exit" alias x="exit"

2
.vimrc
View file

@ -7,7 +7,7 @@ Bundle 'gmarik/vundle'
Bundle 'airblade/vim-gitgutter' Bundle 'airblade/vim-gitgutter'
Bundle 'godlygeek/tabular' Bundle 'godlygeek/tabular'
Bundle 'kien/ctrlp.vim' Bundle 'kien/ctrlp.vim'
Bundle 'puppetlabs/puppet-syntax-vim' Bundle 'rodjek/vim-puppet'
Bundle 'tpope/vim-rails' Bundle 'tpope/vim-rails'
Bundle 'tpope/vim-repeat' Bundle 'tpope/vim-repeat'
Bundle 'tpope/vim-surround' Bundle 'tpope/vim-surround'

View file

@ -1,7 +1,5 @@
* Auto start tmux * Auto start tmux
* * if [[ $STY = '' ]] then mux work; fi * * if [[ $STY = '' ]] then mux work; fi
* insert-sudo function return to end of line * insert-sudo function return to end of line
* git checkout bind
* vi mode on command line * vi mode on command line
* * set -o vi * * set -o vi
* source keybinds