|
|
@ -179,7 +179,7 @@ alias fs="stat -f \"%z bytes\"" |
|
|
|
|
|
|
|
# Empty the Trash on all mounted volumes and the main HDD. |
|
|
|
# Also, clear Apple’s System Logs & the useless sleepimage to improve shell startup speed |
|
|
|
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv $HOME/.Trash; sudo rm -rtv /private/var/log/asl/*.asl; sudo rm /private/var/vm/sleepimage" |
|
|
|
alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo grm -rf $HOME/.Trash; sudo rm -rtv /private/var/log/asl/*.asl; sudo rm /private/var/vm/sleepimage" |
|
|
|
|
|
|
|
# Show/hide hidden files in Finder |
|
|
|
alias showdotfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder" |
|
|
|