Created
          June 11, 2011 22:16 
        
      - 
      
 - 
        
Save cvan/1021020 to your computer and use it in GitHub Desktop.  
    zamboni aliases
  
        
  
    
      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
    
  
  
    
  | export ZAMBONI_PATH=~/Sites/projects/zamboni | |
| PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(__git_ps1 " (%s)")\$ ' | |
| source /usr/local/etc/bash_completion.d/git-completion.bash | |
| export WORKON_HOME=$HOME/.virtualenvs | |
| source $HOME/.virtualenvwrapper | |
| z() { | |
| cd $ZAMBONI_PATH | |
| workon zamboni | |
| } | |
| zup() { | |
| z | |
| echo "Updating master ..." | |
| git checkout master && git pull && git submodule update --init | |
| echo "Updating vendor ..." | |
| pushd vendor && git pull && git submodule update --init && popd | |
| echo "Running migrations ..." | |
| ./vendor/src/schematic/schematic migrations | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment