Last active
March 23, 2017 09:21
-
-
Save Melonbwead/10267621 to your computer and use it in GitHub Desktop.
.zshrc
This file contains 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 | |
export PIVOTAL_TOKEN='' | |
# 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="ceebee" | |
# Example aliases | |
# 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 often 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 to disable command autocorrection | |
# DISABLE_CORRECTION="true" | |
# Uncomment following line if you want red dots to be displayed while waiting for completion | |
COMPLETION_WAITING_DOTS="true" | |
# Uncomment following line if you want to disable marking untracked files under | |
# VCS as dirty. This makes repository status check for large repositories much, | |
# much faster. | |
# DISABLE_UNTRACKED_FILES_DIRTY="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 sublime autojump rails gitfast themes web-search nyan extract taskwarrior zsh-syntax-highlighting) | |
source $ZSH/oh-my-zsh.sh | |
# Customize to your needs... | |
[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
. ~/.nvm/nvm.sh | |
alias at='atom' | |
alias att='atom ./' | |
alias chrome='open -a Google\ Chrome --args --disable-web-security' | |
alias coverage='open -a "Google Chrome" ./coverage/index.html' | |
alias face='cool-face' | |
alias gofaster='sudo rm -rf /private/var/log/asl/*.asl' | |
alias gorepo='cd ~/Repos' | |
alias gs='git status -sbuall' | |
alias gt='gittower' | |
alias gtt='gittower ./' | |
alias hs='history' | |
alias hss='history | grep' | |
alias iphone='open -n /Applications/Xcode.app/Contents/Developer/Applications/iOS\ Simulator.app' | |
alias mysqlin='mysql -u root -A' | |
alias nb='imgcat ~/Elevator_animation.gif & afplay ~/Elevator.mp3 & npm run build && afplay ~/Elevator_doorbell.mov && killall afplay' | |
alias nbb='imgcat ~/Elevator_animation.gif & afplay ~/Elevator.mp3 & npm run build:production && afplay ~/Elevator_doorbell.mov && killall afplay' | |
alias nc='npm run build:css' | |
alias nj='npm run build:js' | |
alias nl='npm run lint' | |
alias nom='npm' # I do this way way way too often. | |
alias ns='npm start' | |
alias nt='npm test' | |
alias o='open .' | |
alias ohmyzsh="at ~/.oh-my-zsh" | |
alias rake='noglob rake' | |
alias reload='source ~/.zshrc' | |
alias rs='rails s -b 0.0.0.0' | |
alias rt='rake' | |
alias v='vagrant' | |
alias vv='open /Applications/MacVim.app ./' | |
alias work='gt . && at .' | |
alias y='yarn' | |
alias yd='yarn run dev' | |
alias yl='yarn run lint' | |
alias ys='yarn start' | |
alias yt='yarn test' | |
yr() { yarn run $1} | |
alias zshconfig="at ~/.zshrc" | |
ft() { ruby ~/Desktop/FlexiTime/report.rb $1 ~/Desktop/FlexiTime/temp.txt } | |
deploy() { bundle exec cap $1 deploy } | |
rtt() { rake TEST=$1 } | |
rttt() { rake TESTOPTS="--name=$1" } | |
ntt() { mocha $1 } | |
alias eevee="iweb1" | |
alias vaporeon="iweb2" | |
alias flareon="iweb3" | |
alias espeon="iweb4" | |
alias glaceon="iweb5" | |
go() { | |
echo "\n" | |
echo "._ _.-|" | |
echo "|_~~\`--._ _.-~ /" | |
echo " \~-._ \~-._.-~~~~~~~-.-~ _.~" | |
echo " ~-._ / \_.-~ " | |
echo " | .-. .-. |" | |
echo " |. |_| . |_| | __.-|" | |
echo " / .__, | _.--~ |" | |
echo " \ /_--~~ \ / " | |
echo " /~-._______.-~ \ |____| " | |
echo " | / \ | /" | |
echo " ~|_ |_|_-~~ / " | |
echo " | ~-\_/-~ | _~ " | |
echo " | | | / _-~ " | |
echo " | | / |__---~ " | |
echo " |,_|,_|____( " | |
echo "Go \e[33m\e[4m$1\e[0m ! I Choose You!" | |
if [ $1 = "eevee" ]; then | |
echo "\e[5m\e[33m\e[4m$1\e[0m \e[5mis \e[1m\e[95miweb1!!" | |
bundle exec cap iweb1 deploy | |
echo "$1 used Deploy to iweb1! It was super effective." | |
fi | |
if [ $1 = "vaporeon" ]; then | |
echo "\e[5m$1 is iweb2!!" | |
bundle exec cap iweb2 deploy | |
echo "$1 used Deploy to iweb2! It was super effective." | |
fi | |
if [ $1 = "flareon" ]; then | |
echo "\e[5m$1 is iweb3!!" | |
bundle exec cap iweb3 deploy | |
echo "$1 used Deploy to iweb3! It was super effective." | |
fi | |
if [ $1 = "espeon" ]; then | |
echo "\e[5m$1 is iweb4!!" | |
bundle exec cap iweb4 deploy | |
echo "$1 used Deploy to iweb4! It was super effective." | |
fi | |
if [ $1 = "glaceon" ]; then | |
echo "\e[5m$1 is iweb5!!" | |
bundle exec cap iweb5 deploy | |
echo "$1 used Deploy to iweb5! It was super effective." | |
fi | |
} | |
ANDROID_HOME=/usr/local/Cellar/android-sdk/ | |
# List out all aliases | |
alias cheating='echo " zshconfig\n ohmyzsh\n lsa\n gorepo\n rvmgeome1\n rvmgeome2\n mysqlin\n rdm\n rdc\n rds\n devlog\n archey\n extract\n v\n gofaster\n chrome\n work "' | |
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting | |
export EDITOR=atom | |
mysql.server start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
😍