Skip to content

Instantly share code, notes, and snippets.

@nickfloyd
Created November 22, 2011 05:02
Show Gist options
  • Save nickfloyd/1384936 to your computer and use it in GitHub Desktop.
Save nickfloyd/1384936 to your computer and use it in GitHub Desktop.
The following gist will allow you to alias open paths to your local solution files. It: 1. Changes the directory in to the solution directory 2. Opens up the given solution Really just a convenance, if you do not want to leave your keyboard and open co
#Create .bashrc in $HOME if one does not exist
touch ~/.bashrc
#add aliases for each commonly used solution - replacing PROJECTNAME and PROJECT with their actual names
alias psln='cd /c/dev/PROJECT && start /c/dev/PROJECT/PROJECTNAME.sln /D /c/dev/PROJECT/'
alias ifsln='cd /c/dev/PROJECT && start /c/dev/PROJECT/PROJECTNAME.sln /D /c/dev/PROJECT/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment