18293cd724224282d6ca473fcbe6e7439d3eac0c

Author
Andrew Hodges <betawaffle@gmail.com>
Committer
Andrew Hodges <betawaffle@gmail.com>
Date

Message

OS X Helpers

Add helper aliases for show/hide files. Add helper alias to recursively delete
.DS_Store files.

Diff

 1diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
 2index 81eed5e92af372466fc02bb682a9d5a8b26091e8..a65ca642a2cc31d89507274fe8714933d17b7281 100644
 3--- a/plugins/osx/osx.plugin.zsh
 4+++ b/plugins/osx/osx.plugin.zsh
 5@@ -1,3 +1,9 @@
 6+alias showfiles='defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder'
 7+alias hidefiles='defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder'
 8+
 9+# Recursively delete .DS_Store files
10+alias rm-dsstore="find . -name '*.DS_Store' -type f -delete"
11+
12 function savepath() {
13   pwd > ~/.current_path~
14 }