Skip to content

Instantly share code, notes, and snippets.

@pwgerman
Created May 15, 2015 03: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 pwgerman/be18a21cd77efbc480fa to your computer and use it in GitHub Desktop.
Save pwgerman/be18a21cd77efbc480fa to your computer and use it in GitHub Desktop.
personal ~/.bashrc for OSX
#!/bin/bash
# Mac OSX ~/.bashrc
# For this to automatically load on Mac, .bashrc must be called in .bashprofile, or type 'bash' to launch .bashrc
alias unhide='defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder'
alias hide='defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder'
alias top='top -s1 -o mem -R -F'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment