V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
pygKent
V2EX  ›  Terminal

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

  •  
  •   pygKent · Jan 6, 2025 · 1732 views
    This topic created in 479 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   ·   2442 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 05:10 · PVG 13:10 · LAX 22:10 · JFK 01:10
    ♥ Do have faith in what you're doing.