Skip to content

Instantly share code, notes, and snippets.

@miglen
Created August 1, 2018 12:05
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 miglen/6d4790fc1d96ce09e67ca24a8e8831ba to your computer and use it in GitHub Desktop.
Save miglen/6d4790fc1d96ce09e67ca24a8e8831ba to your computer and use it in GitHub Desktop.
MacOs scripts & hacks
# Just a list of hacks
set_screencapture (){
# Set the screenshot default path
# https://discussions.apple.com/docs/DOC-9081
mkdir -p ~/Pictures/screenshots/
cd ~/Pictures/screenshots/
defaults write com.apple.screencapture location $(pwd)
}
hacks (){
set_screencapture
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment