From 4f575d23139ec978bfe8ce24b2a5f11aca04cb9b Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Fri, 27 Jan 2012 17:11:39 +0100 Subject: .aliases: Use `sudo` to empty local trash as well --- .aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.aliases') diff --git a/.aliases b/.aliases index cb28abd..e51f5c3 100644 --- a/.aliases +++ b/.aliases @@ -62,7 +62,7 @@ alias fs="stat -f \"%z bytes\"" alias rot13='tr a-zA-Z n-za-mN-ZA-M' # Empty the Trash on all mounted volumes and the main HDD -alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; rm -rfv ~/.Trash" +alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv ~/.Trash" # Show/hide hidden files in Finder alias show="defaults write com.apple.Finder AppleShowAllFiles -bool true && killall Finder" -- cgit v1.2.3