aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-01-27 17:11:39 +0100
committerMathias Bynens <mathias@qiwi.be>2012-01-27 17:11:39 +0100
commit4f575d23139ec978bfe8ce24b2a5f11aca04cb9b (patch)
tree64536606893a4539752bdad151b21beefdc81cc5 /.aliases
parent938aee5633a4b46316ba4957bab36b796c133916 (diff)
downloaddotfiles-4f575d23139ec978bfe8ce24b2a5f11aca04cb9b.tar.gz
dotfiles-4f575d23139ec978bfe8ce24b2a5f11aca04cb9b.tar.bz2
dotfiles-4f575d23139ec978bfe8ce24b2a5f11aca04cb9b.zip
.aliases: Use `sudo` to empty local trash as well
Diffstat (limited to '.aliases')
-rw-r--r--.aliases2
1 files changed, 1 insertions, 1 deletions
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"