先安装lrzsz
brew install lrzsz
下载iterm2-zmodem
wget https://raw.githubusercontent.com/aurora/iterm2-zmodem/master/iterm2-zmodem
放到/usr/local/bin/
mv iterm2-zmodem /usr/local/bin/
配置
设置为:
Regular Expression | Action | parameters |
---|---|---|
**B0100 | Run Slilent Coprocess... | /usr/local/bin/iterm2-zmodem sz |
**B00000000000000 | Run Slilent Coprocess... | /usr/local/bin/iterm2-zmodem rz |
文章评论