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

alfred 搜索 iterm2,回车后,不会弹出终端窗口,只在 dock 栏显示打开了

  •  1
     
  •   hjlpb · Nov 5, 2022 · 2002 views
    This topic created in 1280 days ago, the information mentioned may be changed or developed.

    如题。请问是哪儿设置的问题吗? 另:此时,如果再次搜索 iterm2 ,回车后,会弹出终端窗口。

    Supplement 1  ·  Nov 5, 2022
    在 Preference > General > Startup 中将选项修改为第一项“Use System Window Restoration Setting”以后,貌似是可以了。
    5 replies    2022-11-05 13:57:11 +08:00
    QingStone
        1
    QingStone  
       Nov 5, 2022 via iPhone
    蹲一个解决方案,因为我也遇到了,但不是用的 alfred ,用的 raycast 和 hapigo 也会这样。
    nijux
        2
    nijux  
       Nov 5, 2022
    我用的这个款 https://github.com/isometry/alfred-ssh
    说明文档中 提到要设置一下

    If you wish to have iTerm2 act as ssh protocol handler rather than Terminal.app, create a new iTerm2 profile with “Name” $$USER$$@$$HOST$$, “Command” $$ and “Schemes handled” ssh (e.g. here and here).
    https://apple.stackexchange.com/questions/28938/set-iterm2-as-the-ssh-url-handler


    原来用的这款,比上面那款强大,就是新系统有问题,issues 里有解决办法
    https://github.com/deanishe/alfred-ssh/
    https://github.com/deanishe/alfred-ssh/issues/72
    Dvel
        3
    Dvel  
       Nov 5, 2022
    我手动在 Dock 栏点开也这样,好像是和 hotkey window 的设置有关。


    不过也没太大影响,平时都是常驻开启的。
    hjlpb
        4
    hjlpb  
    OP
       Nov 5, 2022
    @QingStone 这一个应该与用什么搜索无关,而是与 iterm 的设置有关。你按我发布的最新方法试一下,是否可以。
    QingStone
        5
    QingStone  
       Nov 5, 2022 via iPhone
    @hjlpb 我一直是这个设置🤣
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   995 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 18:48 · PVG 02:48 · LAX 11:48 · JFK 14:48
    ♥ Do have faith in what you're doing.