ohmyzsh/custom/osx_alias.zsh
Prashanth Rajagopal ada37d13d5 My custom files
2014-10-20 16:19:26 +05:30

13 lines
419 B
Bash
Executable file

### 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'