Last active
December 27, 2015 00:18
-
-
Save ryan-miller/7236408 to your computer and use it in GitHub Desktop.
.bash_profile mostly for alias commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function | |
| # Alias commands | |
| alias spotlight_start='sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist' | |
| alias spotlight_stop='sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist' | |
| alias tomcat_start='sudo /usr/local/tomcat/bin/startup.sh' | |
| alias tomcat_stop='sudo /usr/local/tomcat/bin/shutdown.sh' | |
| alias trash_empty='sudo rm -rf ~/.Trash/*' | |
| alias dock_kill='sudo killall -KILL Dock' | |
| alias finder_showall='defaults write com.apple.finder AppleShowAllFiles ON; killall Finder' | |
| alias finder_hideall='defaults write com.apple.finder AppleShowAllFiles OFF; killall Finder' | |
| export CC=gcc | |
| export EDITOR=vim |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment