[zsh] Move the finder function to its own file

This commit is contained in:
Eryn Wells 2024-09-24 09:32:13 -07:00
parent c260784e5d
commit f7f45b5b50

13
zsh/func/finder Normal file
View 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 "$@"