mac iterm 配置rz

下載sh

github.com/huangjian00…git

$ chmod +x /usr/local/bin/iterm2-send-zmodem.sh
$ chmod +x /usr/local/bin/iterm2-recv-zmodem.shgithub

iTerm2 -> Profiles -> Default ->Advanced -> Triggers -> editexpress

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 記得勾選
複製代碼

下載lrzsz

brew install lrzszbash

相關文章
相關標籤/搜索