From e727b529dc820a65045fec7ac32054ce3f89dc32 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 4 Apr 2023 08:20:51 +0200 Subject: zsh: add `finder` function to open Finder --- user/zsh/zshrc.darwin | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/user/zsh/zshrc.darwin b/user/zsh/zshrc.darwin index c8f17a43..320b8267 100644 --- a/user/zsh/zshrc.darwin +++ b/user/zsh/zshrc.darwin @@ -27,3 +27,7 @@ mosh() { set_title return $retval } +finder() { + open -a Finder "${1:-.}" +} +compdef '_path_files -/' finder -- cgit 1.4.1