aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
Diffstat (limited to '.aliases')
-rw-r--r--.aliases4
1 files changed, 4 insertions, 0 deletions
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