mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-25 23:30:08 +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:
parent
d72b9c5ec5
commit
18293cd724
1 changed files with 6 additions and 0 deletions
|
@ -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() {
|
function savepath() {
|
||||||
pwd > ~/.current_path~
|
pwd > ~/.current_path~
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue