diff options
author | Alan Pearce | 2023-04-04 08:20:51 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-04 08:20:51 +0200 |
commit | e727b529dc820a65045fec7ac32054ce3f89dc32 (patch) | |
tree | 1fdb595c577b48af0197951f71a38c69f080dd1b | |
parent | 66ffb68afef42bb46a2dd75e4ba466a1ac43497e (diff) | |
download | nixfiles-e727b529dc820a65045fec7ac32054ce3f89dc32.tar.lz nixfiles-e727b529dc820a65045fec7ac32054ce3f89dc32.tar.zst nixfiles-e727b529dc820a65045fec7ac32054ce3f89dc32.zip |
zsh: add `finder` function to open Finder
-rw-r--r-- | user/zsh/zshrc.darwin | 4 |
1 files changed, 4 insertions, 0 deletions
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 |