Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Path to oh-my-zsh configuration.
- export DISABLE_AUTO_UPDATE=true
- export DISABLE_AUTO_TITLE=true
- export ZSH=$HOME/.oh-my-zsh
- export ZSH_THEME="machuga"
- # Setup paths
- export PATH=/usr/local/bin:/Users/machuga/.rvm/bin:/usr/bin:/opt/local/bin:/opt/local/sbin:/Users/machuga/bin:.:$PATH
- # Load oh-my-zsh plugins
- plugins=(git rvm ruby)
- source $ZSH/oh-my-zsh.sh
- # Environment variables
- export EDITOR="vim"
- export LSCOLORS="ExGxBxDxCxEgEdxbxgxcxd"
- export GREP_OPTIONS="--color"
- export ACK_COLOR_MATCH="red"
- export WORDCHARS='*?[]~&;!$%^<>'
- # Aliases
- alias mysql=/usr/local/mysql/bin/mysql
- alias mysqladmin=/usr/local/mysql/bin/mysqladmin
- alias la="ls -la"
- alias vi="mvim -v"
- alias vim="mvim -v"
- alias gvim='/Applications/MacVim.app/Contents/MacOS/Vim -g'
- alias start_pgsql="pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start"
- alias stop_pgsql="pg_ctl -D /usr/local/var/postgres stop -s -m fast"
- alias start_mongo="mongod run --config /usr/local/Cellar/mongodb/2.0.2-x86_64/mongod.conf"
- # Git Aliases
- alias gs="git status"
- alias gb="git branch"
- alias ga="git add"
- alias gaa="git add -A"
- alias gco="git checkout"
- alias gcam="git commit -a -m"
- alias gffs="git flow feature start"
- alias gfff="git flow feature finish"
- alias gpusho="git push origin"
- alias gpullo="git pull origin"
- alias gpod="git push origin develop"
- alias tail_apache="tail -f /var/log/apache2/error_log | perl -pe 's/\[[a-zA-Z0-9 :\.]+\]/\e[1;31;m$&\e[0m/g'"
- alias tail_phpar="tail -f ~/Sites/perfectpetmatch/dashboard/fuel/app/logs/phpar.log | perl -pe 's/\(Time:\s+([a-zA-Z0-9 :\.]+)\)/\e[1;31;m$&\e[0m/g'"
- alias edit_vhosts="vi /etc/apache2/extra/httpd-vhosts.conf"
- alias php5-4-s="php -S localhost:8888"
- alias clojure="rlwrap clj"
- # Less Colors for Man Pages
- export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
- export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
- export LESS_TERMCAP_me=$'\E[0m' # end mode
- export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
- export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
- export LESS_TERMCAP_ue=$'\E[0m' # end underline
- export LESS_TERMCAP_us=$'\E[04;38;5;146m' # begin underline
- # Set default email for Rails
- export DIGITELL_USERNAME="mmachuga@digitellinc.com"
- export DIGITELL_PASSWORD="maqua11machm"
- export LARAVEL_ENV="test"
- # Function for making PDF versions of man pages
- function pman() {
- man $1 -t | open -f -a Preview
- }
- # This function jsonify's something or another, need to look into it
- function pj() {
- python -mjson.tool
- }
- if [ -f `brew --prefix`/etc/autojump ]; then
- . `brew --prefix`/etc/autojump
- fi
- PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
Add Comment
Please, Sign In to add comment