iterm2安装rz sz

  1. Install lrzsz on OSX: brew install lrzsz

  2. git clone https://github.com/xmvper/iterm2-zmodem.git
    Save the iterm2-send-zmodem.sh and iterm2-recv-zmodem.sh scripts in /usr/local/bin/

  3. Set up Triggers(At Preferences -> Profiles -> Advanced) in iTerm 2 like so:

    Regular expression: rz waiting to receive.\*\*B0100
    Action: Run Silent Coprocess
    Parameters: /usr/local/bin/iterm2-send-zmodem.sh
    Instant: checked
    
    Regular expression: \*\*B00000000000000
    Action: Run Silent Coprocess
    Parameters: /usr/local/bin/iterm2-recv-zmodem.sh
    Instant: checked
    
JouyPub wechat
欢迎订阅「K叔区块链」 - 专注于区块链技术学习