Enhancement: Show/Hide OSX hidden files 💯 (#5275)

This commit is contained in:
Ahmad Awais authored and Robby Russell committed 2016-08-14 17:55:02 -07:00
1 parent 341e83f6f2
commit 5d6c350166
2 files changed
+6

No files matched your search

+2
View File
@@ -25,3 +25,5 @@ Original author: [Sorin Ionescu](https://github.com/sorin-ionescu)
| `pushdf` | `pushd` to the current Finder directory | | `pushdf` | `pushd` to the current Finder directory |
| `quick-look` | Quick-Look a specified file | | `quick-look` | Quick-Look a specified file |
| `man-preview` | Open a specified man page in Preview app | | `man-preview` | Open a specified man page in Preview app |
| `showfiles` | Show hidden files |
| `hidefiles` | Hide the hidden files |
+4
View File
@@ -260,3 +260,7 @@ EOF
esac esac
osascript -e "tell application \"iTunes\" to $opt" osascript -e "tell application \"iTunes\" to $opt"
} }
# Show/hide hidden files in the Finder
alias showfiles="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"
alias hidefiles="defaults write com.apple.finder AppleShowAllFiles -bool false && killall Finder"