mathiasbynens/dotfiles — pull request #112 by mogetutu (2012-08-04 00:45:57+00:00)
Title: Changed from true and false, didn't seem to work for me. currently on OS X ML

# Show/hide hidden files in Finder
alias show="defaults write com.apple.Finder AppleShowAllFiles -bool YES && killall Finder"
alias hide="defaults write com.apple.Finder AppleShowAllFiles -bool NO && killall Finder"

# Hide/show all desktop icons (useful when presenting)
alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool NO && killall Finder"
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool YES && killall Finder"