From a4767da6801f91aae118662ef7d651d4baca40b5 Mon Sep 17 00:00:00 2001 From: Mathias Bynens Date: Sat, 17 Sep 2011 08:40:11 +0200 Subject: Add aliases to show/hide hidden files in Finder. Closes #15. --- .aliases | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.aliases') diff --git a/.aliases b/.aliases index 2604029..cb60eaa 100644 --- a/.aliases +++ b/.aliases @@ -44,6 +44,10 @@ alias fs="stat -f \"%z bytes\"" # ROT13-encode text. Works for decoding, too! ;) alias rot13='tr a-zA-Z n-za-mN-ZA-M' +# Show/hide hidden files in Finder +alias show="defaults write com.apple.Finder AppleShowAllFiles -bool true && killall Finder" +alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool false && killall Finder" + # Disable Spotlight alias spotoff="sudo mdutil -a -i off" # Enable Spotlight -- cgit v1.2.3