pygKent
V2EX  ›  Terminal

macos 的 Ghostty,大家是怎么从 finder 中快速打开对应的 Ghostty 终端的

  •  
  •   pygKent · Jan 6, 2025 · 1826 views
    This topic created in 499 days ago, the information mentioned may be changed or developed.

    如题

    一直在使用 iterm2 ,配合 alfred 的 terminalFinder 插件,选中文件夹后执行 fi 以新窗口打开对应的终端

    今天看周刊下了个 Ghostty ,找了好多资料,似乎 Ghostty 不支持 AppleScript ,无法通过 terminalFinder 打开?

    我又想到了 finder 用右键快速操作,open with Ghostty

    for i in "$@"
    do
    	open -a "/Applications/Ghostty.app" "$f"
    done
    

    试了一下也不奏效,或者大伙有更好的方式吗,finder 里快速打开终端真的对我真的很重要,不然就用回去 iterm2 了

    mortal
        1
    mortal  
       Jan 6, 2025   ❤️ 1


    默认不就有吗
    pygKent
        2
    pygKent  
    OP
       Jan 6, 2025
    @mortal 我居然没发现,这些操作一直放在服务里=-=,谢谢🙏
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1002 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 19:26 · PVG 03:26 · LAX 12:26 · JFK 15:26
    ♥ Do have faith in what you're doing.