aboutsummaryrefslogtreecommitdiffstats
path: root/.aliases
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2011-09-17 08:40:11 +0200
committerMathias Bynens <mathias@qiwi.be>2011-09-17 08:40:11 +0200
commita4767da6801f91aae118662ef7d651d4baca40b5 (patch)
tree7db4a9c9e205027c6753327bb69e15c09913f8c0 /.aliases
parent730c7f7084b0b09c18c018132abb90ec56c45579 (diff)
downloaddotfiles-a4767da6801f91aae118662ef7d651d4baca40b5.tar.gz
dotfiles-a4767da6801f91aae118662ef7d651d4baca40b5.tar.bz2
dotfiles-a4767da6801f91aae118662ef7d651d4baca40b5.zip
Add aliases to show/hide hidden files in Finder. Closes #15.
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