Last active
December 13, 2015 20:38
-
-
Save ralphcrisostomo/4971495 to your computer and use it in GitHub Desktop.
My .zshrc file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to your oh-my-zsh configuration. | |
ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
# ZSH_THEME="robbyrussell" | |
ZSH_THEME="doubleend" | |
# Example aliases | |
# alias zshconfig="mate ~/.zshrc" | |
# alias ohmyzsh="mate ~/.oh-my-zsh" | |
# Set to this to use case-sensitive completion | |
# CASE_SENSITIVE="true" | |
# Comment this out to disable bi-weekly auto-update checks | |
# DISABLE_AUTO_UPDATE="true" | |
# Uncomment to change how many often would you like to wait before auto-updates occur? (in days) | |
# export UPDATE_ZSH_DAYS=13 | |
# Uncomment following line if you want to disable colors in ls | |
# DISABLE_LS_COLORS="true" | |
# Uncomment following line if you want to disable autosetting terminal title. | |
# DISABLE_AUTO_TITLE="true" | |
# Uncomment following line if you want red dots to be displayed while waiting for completion | |
# COMPLETION_WAITING_DOTS="true" | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
plugins=(git git-flow github coffee osx ruby rails brew) | |
source $ZSH/oh-my-zsh.sh | |
# Customize to your needs... | |
export PATH=/Users/ralfcrisostomo/.rvm/gems/ruby-1.9.3-p385/bin:/Users/ralfcrisostomo/.rvm/gems/ruby-1.9.3-p385@global/bin:/Users/ralfcrisostomo/.rvm/rubies/ruby-1.9.3-p385/bin:/Users/ralfcrisostomo/.rvm/bin:/usr/local/bin:/usr/local/sbin:~/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/npm/bin | |
export VISUAL='mvim -f' | |
# ---------------- | |
# RVM | |
# ---------------- | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
# ---------------- | |
# Fortune / Cowsay | |
# ---------------- | |
fortune | cowsay | lolcat | |
# ---------------- | |
# Default directory | |
# ---------------- | |
cd 'Projects/recordtv/Mock.Mobile.Interface' | |
# ---------------- | |
# zshrc | |
# ---------------- | |
alias r='source ~/.zshrc' | |
alias z='open -a "Sublime Text 2" ~/.zshrc' | |
# ---------------- | |
# Application | |
# ---------------- | |
alias s='open -a "Sublime Text 2"' | |
alias ides='open -a "Sublime Text 2"' | |
alias ider='open -a "RubyMine"' | |
alias idep='open -a "PhpStorm"' | |
alias gbx='open -a "GitBox"' | |
# ---------------- | |
# Common Commands | |
# ---------------- | |
alias o='open .' | |
alias lh='ls -a | egrep "^\."' | |
alias l='ls | egrep .' | |
alias rmdir='rm -rF' | |
alias pg='ping www.google.com' | |
alias dl="curl -O" | |
alias link='ln -s' | |
alias t='tree' | |
alias compress='tar -zcvf' | |
alias uncompress='tar -zxvf' | |
# ---------------- | |
# Directories | |
# ---------------- | |
alias p='~/Projects' | |
alias c='~/Projects/clones' | |
alias pr="~/Projects/prototypes" | |
alias b=' cd ../' | |
alias rtv='~/Projects/recordtv/Mock.Mobile.Interface' | |
alias oi='~/Projects/recordtv/online_interface' | |
alias htdocs='/Applications/XAMPP/htdocs' | |
alias downloads='~/Downloads' | |
alias f='~/Projects/forge' | |
alias wpt='/Applications/XAMPP/htdocs/wordpress/wp-content/themes/' | |
alias rp='~/Projects/railspractice/' | |
alias df='~/dotfiles' | |
alias dfo='~/dotfiles_old' | |
alias dfb='~/dotfiles/./bootstrap.sh' | |
alias root='~/' | |
# ---------------- | |
# Build | |
# ---------------- | |
alias build='./build.sh' | |
# ---------------- | |
# Git | |
# ---------------- | |
alias ga='git add .' | |
alias gs='git status' | |
alias gc='git commit -am' | |
alias gcd='git checkout develop' | |
alias gcm='git checkout master' | |
alias gt="git tag" | |
# ---------------- | |
# Git-Flow | |
# ---------------- | |
alias gfrs='git flow release start' | |
alias gfrf='git flow release finish' | |
# ---------------- | |
# Compass | |
# ---------------- | |
alias cw='compass watch' | |
# ---------------- | |
# CoffeeScript | |
# ---------------- | |
alias csw='coffee -o js -cw coffee' | |
# ---------------- | |
# Forge | |
# ---------------- | |
alias fc='forge create' | |
alias fw='forge watch' # Must be run from within a Forge project. | |
alias fl='forge link' # /wordpress/wp-content/themes/your_theme | |
# --- | |
# MEMCACHE | |
alias m='/usr/local/opt/memcached/bin/memcached' | |
# ---------------- | |
# Rails | |
# ---------------- | |
alias rrs='rails s -p 3003' | |
# ---------------- | |
# Cake | |
# ---------------- | |
# ---------------- | |
# Rake | |
# ---------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment