summaryrefslogtreecommitdiff
path: root/plugins/osx
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2011-05-29 03:54:05 -0700
committerRobby Russell <robby@planetargon.com>2011-05-29 03:54:05 -0700
commit40a737ee1362d7d745313c4aa8ea29e28ff52978 (patch)
treec20a403fbfaa01c7c559605f585908b6aac7d39c /plugins/osx
parentb0c9bc88ef630e056bd670ad185514cf435c2085 (diff)
parent6b86636413c3b9b98d723ea77058db6c283325e4 (diff)
downloadzsh-40a737ee1362d7d745313c4aa8ea29e28ff52978.tar.gz
zsh-40a737ee1362d7d745313c4aa8ea29e28ff52978.tar.bz2
zsh-40a737ee1362d7d745313c4aa8ea29e28ff52978.zip
Merge pull request #366 from betawaffle/master
Add/update plugins: brew, rvm, node, npm, pow, and thor.
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~
}