My custom files

This commit is contained in:
Prashanth Rajagopal 2014-10-20 16:19:26 +05:30
commit ada37d13d5
8 changed files with 274 additions and 0 deletions

13
custom/osx_alias.zsh Executable file
View file

@ -0,0 +1,13 @@
### Get my ip
alias ip='ipconfig getifaddr en1'
### Delete Spotlight's existing index and build a new one
################ Use this with caution. Takes time to build ##################
alias rebuild_spotlight_index='sudo mdutil -E /Volumes/Macintosh\ HD'
### Search and install updates
alias update='sudo softwareupdate -ia'
alias mtr='/usr/local/Cellar/mtr/0.85/sbin/mtr'
### top sory by cpu
alias top='top -o cpu'