diff options
author | Mathias Bynens <mathias@qiwi.be> | 2011-09-17 08:40:11 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2011-09-17 08:40:11 +0200 |
commit | a4767da6801f91aae118662ef7d651d4baca40b5 (patch) | |
tree | 7db4a9c9e205027c6753327bb69e15c09913f8c0 /.aliases | |
parent | 730c7f7084b0b09c18c018132abb90ec56c45579 (diff) | |
download | dotfiles-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-- | .aliases | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |