Ji4n1ng / OpenInTerminal

✨ Finder Toolbar app for macOS to open the current directory in Terminal, iTerm, Hyper or Alacritty.
MIT License
5.88k stars 235 forks source link

Support applications installed by nix. #183

Open PhotonQuantum opened 1 year ago

PhotonQuantum commented 1 year ago

What is the issue?

Nix-installed kitty is not recognized by OpenInTerminal.

It might have something to do with the non-standard location of kitty binary.

$ which kitty
/etc/profiles/per-user/lightquantum/bin/kitty
$ realpath $(which kitty)
/nix/store/am4nc3mx3225vq32q7vf6gf8x5fq347b-kitty-0.26.2/bin/kitty

How does one reproduce the issue?

Install kitty with nix (nix-env -i kitty). kitty is shown as not installed in OpenInTerminal.

Screenshots

截屏2022-10-22 23 19 43

Debug information (Logs, OS, Hardware, Version, etc.)

I'm not sure how to capture logs.

OS: MacOS 12.6

Hardware: MBP 2021 with apple silicon.

Version: 2.3.6