mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-27 03:05:39 +01:00
13 lines
419 B
Bash
Executable file
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'
|