# just put them into your ~/.bash_login # and then: source ~/.bash_login function showall() { /usr/bin/defaults write com.apple.finder AppleShowAllFiles TRUE /bin/sleep 1 /usr/bin/killall Finder return 0 } function shownall() { /usr/bin/defaults write com.apple.finder AppleShowAllFiles FALSE /bin/sleep 1 /usr/bin/killall Finder return 0 }