summaryrefslogtreecommitdiff
path: root/plugins/osx
diff options
context:
space:
mode:
authorAndrew Hodges <betawaffle@gmail.com>2011-05-28 13:14:42 -0400
committerAndrew Hodges <betawaffle@gmail.com>2011-05-28 13:14:42 -0400
commit6b86636413c3b9b98d723ea77058db6c283325e4 (patch)
tree3b16502031dbdc4f5751ffd77c206be1b1944508 /plugins/osx
parentab2a7b51a8c3ead55a272fba58232d0823e519a2 (diff)
parent18bfb14a2f774b115c8634cdaa3864cbdee91a94 (diff)
downloadzsh-6b86636413c3b9b98d723ea77058db6c283325e4.tar.gz
zsh-6b86636413c3b9b98d723ea77058db6c283325e4.tar.bz2
zsh-6b86636413c3b9b98d723ea77058db6c283325e4.zip
Merge branch 'plugins'
Diffstat (limited to 'plugins/osx')
-rw-r--r--plugins/osx/osx.plugin.zsh6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh
index 81eed5e92..a65ca642a 100644
--- a/plugins/osx/osx.plugin.zsh
+++ b/plugins/osx/osx.plugin.zsh
@@ -1,3 +1,9 @@
+alias showfiles='defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder'
+alias hidefiles='defaults write com.apple.finder AppleShowAllFiles FALSE; killall Finder'
+
+# Recursively delete .DS_Store files
+alias rm-dsstore="find . -name '*.DS_Store' -type f -delete"
+
function savepath() {
pwd > ~/.current_path~
}