Last active
October 17, 2017 09:27
-
-
Save steviebiddles/ffa6dd2e7e8b3ac65ed764858d939e8e to your computer and use it in GitHub Desktop.
zsh function to quickly switch svn branch and run composer install
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
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