Skip to content

Instantly share code, notes, and snippets.

@impactmass
Created October 24, 2015 14:37
Show Gist options
  • Save impactmass/d7fa646c700b39c6af2c to your computer and use it in GitHub Desktop.
Save impactmass/d7fa646c700b39c6af2c to your computer and use it in GitHub Desktop.
zshrc
# include z
. /usr/local/Cellar/z/1.8/etc/profile.d/z.sh
plugins=(git extract node npm bower brew cloudapp)
source $ZSH/oh-my-zsh.sh
HISTSIZE=SAVEHIST=100000
setopt sharehistory
setopt extendedhistory
setopt auto_cd
setopt interactivecomments # pound sign in interactive prompt
REPORTTIME=10
if [[ -x "`whence -p dircolors`" ]]; then
eval `dircolors`
alias ls='ls -F --color=auto'
else
alias ls='ls -F'
fi
function mkdir
{
command mkdir $1 && cd $1
}
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
alias gs='git status '
alias gA='git add -A'
alias gb='git branch '
alias gc='git commit'
alias gd='git diff'
alias gf='git fetch'
alias gco='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
alias gcm='git commit -m '
alias gp='grunt protractor'
alias lss='ls -la'
alias gll='git log --pretty=oneline'
alias gls='git log --stat'
alias gl='git log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment