Skip to content

Instantly share code, notes, and snippets.

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 therealchiko/a7bdfeb961e18056e3d7986661d0a140 to your computer and use it in GitHub Desktop.
Save therealchiko/a7bdfeb961e18056e3d7986661d0a140 to your computer and use it in GitHub Desktop.
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