V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
hjlpb
V2EX  ›  Apple

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

  •  1
     
  •   hjlpb · 2022-11-05 00:15:54 +08:00 · 1117 次点击
    这是一个创建于 531 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    第 1 条附言  ·  2022-11-05 10:45:55 +08:00
    在 Preference > General > Startup 中将选项修改为第一项“Use System Window Restoration Setting”以后,貌似是可以了。
    5 条回复    2022-11-05 13:57:11 +08:00
    QingStone
        1
    QingStone  
       2022-11-05 00:42:55 +08:00 via iPhone
    蹲一个解决方案,因为我也遇到了,但不是用的 alfred ,用的 raycast 和 hapigo 也会这样。
    nijux
        2
    nijux  
       2022-11-05 00:59:29 +08:00
    我用的这个款 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  
       2022-11-05 01:13:27 +08:00
    我手动在 Dock 栏点开也这样,好像是和 hotkey window 的设置有关。


    不过也没太大影响,平时都是常驻开启的。
    hjlpb
        4
    hjlpb  
    OP
       2022-11-05 10:46:41 +08:00
    @QingStone 这一个应该与用什么搜索无关,而是与 iterm 的设置有关。你按我发布的最新方法试一下,是否可以。
    QingStone
        5
    QingStone  
       2022-11-05 13:57:11 +08:00 via iPhone
    @hjlpb 我一直是这个设置🤣
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5078 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 05:41 · PVG 13:41 · LAX 22:41 · JFK 01:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.