Skip to content

Instantly share code, notes, and snippets.

@steviebiddles
Last active October 17, 2017 09:27
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 steviebiddles/ffa6dd2e7e8b3ac65ed764858d939e8e to your computer and use it in GitHub Desktop.
Save steviebiddles/ffa6dd2e7e8b3ac65ed764858d939e8e to your computer and use it in GitHub Desktop.
zsh function to quickly switch svn branch and run composer install
function switch() {
if [ "$1" != "" ]
then
svn switch "$1"
composer install -n
else
echo " $fg[red]Provide the svn branch name$reset_color"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment