mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-06 03:10:35 +01:00
My custom files
This commit is contained in:
parent
affff9e09d
commit
ada37d13d5
8 changed files with 274 additions and 0 deletions
13
custom/osx_alias.zsh
Executable file
13
custom/osx_alias.zsh
Executable 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue