Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Two functions to clean desktop and get certain project from Sites dir
function get(){
mv ~/Sites/$1 ~/Desktop/
cd ~/Desktop/$1
ll
open -a Phpstorm ./
}
function store(){
mv ~/Desktop/$1 ~/Sites/
cd ~/Sites/
osascript -e 'quit app "/Applications/PhpStorm"'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment