rivergold / iterm2-lrzsz

Config iterm2 lrzsz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iterm2-lrzsz

Config iterm2 to use lrzsz on macOS

Install

1. Install lrzsz

brew install lrzsz

2. Download zmoden-rz and zmoden-sz into /usr/local/bin

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

3. Config iterm2

profiles -> default -> editProfiles -> Advanced, and choose Tirggers

Add two Trigger:

# rz
Regular expression: rz waiting to receive.\*\*B0100
Action: Run Silent Coprocess
Parameters: /usr/local/bin/zmodem-rz.sh
Instant: checked
# sz
Regular expression: \*\*B00000000000000
Action: Run Silent Coprocess
Parameters: /usr/local/bin/zmodem-sz.sh
Instant: checked

About

Config iterm2 lrzsz

License:MIT License


Languages

Language:Shell 100.0%