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

在 warp terminal 中使用 trzsz ( trz / tsz ),兼容 warp 风格的方法。

  •  
  •   LonnyWong · 191 天前 · 728 次点击
    这是一个创建于 191 天前的主题,其中的信息可能已经有所发展或是发生改变。

    在 warp terminal 中使用 trzsz ( trz / tsz ),类似 rz / sz 的用法。

    要兼容 warp 分块的风格,则需要使用 https://github.com/trzsz/trzsz-ssh 代替 ssh ,安装及用法:

    brew install trzsz-ssh
    sudo ln -s $(which tssh) /usr/local/bin/ssh
    
    warp_ssh_helper xxx
    

    美中不足的是,使用 warp_ssh_helper 时,暂不支持拖拽上传。因为拖文件到 warp_ssh_helper 中时,它并没有立即将文件路径转发给 ssh 进程,导致 trzsz 无法及时检测到拖文件的动作。

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2836 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:06 · PVG 23:06 · LAX 08:06 · JFK 11:06
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.