Skip to content

Instantly share code, notes, and snippets.

@roberto-butti
Created January 18, 2014 15:09
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 roberto-butti/8491754 to your computer and use it in GitHub Desktop.
Save roberto-butti/8491754 to your computer and use it in GitHub Desktop.
file configurazione zshrc Zshell
# 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"
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
alias subl="/Applications/Sviluppo/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl"
#alias php54="/usr/local/php5/bin/php"
alias apache-start="sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper start"
alias apache-stop="sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper stop"
alias apache-restart="sudo /opt/local/etc/LaunchDaemons/org.macports.apache2/apache2.wrapper restart"
alias apache-edit="sudo vim /opt/local/apache2/conf/httpd.conf"
alias apache-edit-vhost="sudo vim /opt/local/apache2/conf/extra/httpd-vhosts.conf"
alias mysql-start="sudo port load mysql56-server"
alias mysql-stop="sudo port unload mysql56-server"
alias artisan="php54 artisan"
alias php="php55"
# 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)
source $ZSH/oh-my-zsh.sh
# Customize to your needs...
export PATH=/opt/local/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/rbutti/mongodb-osx-x86_64-2.2.1/bin:/Applications/MAMP/bin/php5.3/bin:/opt/local/bin:/opt/local/sbin:/Users/rbutti/bin/drush:/usr/local/rvm/gems/ruby-1.9.3-p194/bin:/usr/local/rvm/gems/ruby-1.9.3-p194@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p194/bin:/usr/local/rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment