1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 20:57:59 +00:00

OS X Helpers

Add helper aliases for show/hide files. Add helper alias to recursively delete
.DS_Store files.
This commit is contained in:
Andrew Hodges 2011-05-28 11:27:50 -04:00
parent f14b00808d
commit 8e7fa7cefc

View File

@ -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~
}