Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
18293cd7
Commit
18293cd7
authored
May 28, 2011
by
Andrew Hodges
Browse files
OS X Helpers
Add helper aliases for show/hide files. Add helper alias to recursively delete .DS_Store files.
parent
d72b9c5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/osx/osx.plugin.zsh
View file @
18293cd7
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~
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment