[zsh] Move the finder function to its own file
This commit is contained in:
parent
c260784e5d
commit
f7f45b5b50
1 changed files with 13 additions and 0 deletions
13
zsh/func/finder
Normal file
13
zsh/func/finder
Normal file
|
@ -0,0 +1,13 @@
|
|||
# vim: set ft=zsh:
|
||||
|
||||
# Open a file or folder in Finder.
|
||||
function finder
|
||||
{
|
||||
if [[ -z "$1" ]]; then
|
||||
open -R .
|
||||
fi
|
||||
|
||||
open -R "$1"
|
||||
}
|
||||
|
||||
finder "$@"
|
Loading…
Add table
Add a link
Reference in a new issue