Skip to content

Instantly share code, notes, and snippets.

@michaeljhopkins
Last active August 29, 2015 14:19
Show Gist options
  • Save michaeljhopkins/a05b03849b7a3951b3dd to your computer and use it in GitHub Desktop.
Save michaeljhopkins/a05b03849b7a3951b3dd to your computer and use it in GitHub Desktop.
tmp
# Path to your oh-my-zsh installation.
export ZSH=/home/m/.oh-my-zsh
ZSH_THEME='pygmalion'
# Uncomment the following line to display red dots whilst 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)
# Add wisely, as too many plugins slow down shell startup.
plugins=(ruby sudo sublime command-not-foundnode npm pip nvm gem rake rbenv bundler ruby python zsh-syntax-highlighting php grunt gulp)
# User configuration
export PATH='/usr/local/sbin:\$PATH'
export PATH='/usr/local/bin:\$PATH'
export PATH='/usr/sbin:\$PATH'
export PATH='/usr/bin:\$PATH'
export PATH='/sbin:\$PATH'
export PATH='/bin:\$PATH'
export PATH='/usr/games:\$PATH'
export PATH='/usr/local/games:\$PATH'
export PATH='/home/m/.nvm/v0.12.0/bin:\$PATH'
export PATH='/home/m/.composer/vendor/bin'
source \$ZSH/oh-my-zsh.sh
alias zshrc='nano ~/.zshrc'
alias nano='sudo subl'
alias serve='sudo sh ~/Scripts/serve.sh'
alias serveh='sudo sh ~/Scripts/serve-hhvm.sh'
alias ssh-aws='ssh [email protected]'
alias ssh-appit='ssh [email protected]'
alias larafresh='composer dump-autoload && php artisan cache:clear && php artisan clear-compiled && php artisan optimize && php artisan migrate:reload'
alias laraquick='composer dump-autoload && php artisan cache:clear && php artisan clear-compiled && php artisan optimize'
alias larafull='rm -rf vendor && rm -rf node_modules && composer install && npm install && bower install && gulp && php artisan clear-compiled && php artisan optimize && php artisan migrate:reload'
alias edithosts='sudo subl /etc/hosts'
export NVM_DIR='/home/m/.nvm'
[ -s '\$NVM_DIR/nvm.sh' ] && . '\$NVM_DIR/nvm.sh'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment