Skip to content

Instantly share code, notes, and snippets.

@cdmo
Last active December 15, 2015 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdmo/5233369 to your computer and use it in GitHub Desktop.
Save cdmo/5233369 to your computer and use it in GitHub Desktop.
a basic starter zsh profile
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
#Environment Variables
export PATH="/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/opt:$HOME/bin:$HOME/drush:/Applications/MAMP/Library/bin:/Applications/MAMP/bin/php5.3/bin:$PATH"
export EDITOR=vim
# Set name of the theme to load.
ZSH_THEME="robbyrussell"
COMPLETION_WAITING_DOTS="true"
# Override theme's right prompt to show host name
RPROMPT='[%m]'
plugins=(git drush svn)
source $ZSH/oh-my-zsh.sh
# Aliases
alias c="clear"
alias ll='ls -la'
alias restart='/Applications/MAMP/bin/apache2/bin/apachectl restart'
alias svns='svn status -u'
alias svnm='svn commit -m'
alias gits='git status'
alias gita='git add'
alias gitm='git commit -m'
alias gitam='git commit -am'
alias gitpom='git push origin master'
alias gitplm='git pull origin master'
alias gitl='git log --pretty=oneline --abbrev-commit'
alias gitlf='git log --pretty=oneline --abbrev-commit --name-only'
alias gitdw='git diff --color-words'
alias gitra='git remote add'
alias gitcb='git checkout -b'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment