Mac下安装rzsz

一.Mac下安装rzsz

1.安装brew

2.安装wget

3.安装rzsz

brew install lrzsz

4.下载iterm2-zmodem

cd /usr/local/bin

sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-send-zmodem.sh

sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh

sudo chmod 777 /usr/local/bin/iterm2-*

5.添加trigger

打开Item2,点击profiles,选择某个profile之后然后继续选择advanced → triggers,添加triggers。

Regular expression

Action

Action

\*\*B0100 Run Silent Coprocess /usr/local/bin/iterm2-send-zmodem.sh
\*\*B00000000000000 Run Silent Coprocess /usr/local/bin/iterm2-recv-zmodem.sh

你可能感兴趣的:(linux)