Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex not triggering #1

Closed
geekscrapy opened this issue Nov 12, 2019 · 4 comments
Closed

Regex not triggering #1

geekscrapy opened this issue Nov 12, 2019 · 4 comments

Comments

@geekscrapy
Copy link

Hi, I implemented your tool as your instructions but it seems like iTerm isn't picking up the Triggers regex, are they correct? I would have thought it's be more like: rz or sz ?

As if you issue rz on the remote machine it comes back with command not found.

iTerm2 Build 3.3.6
OSX 10.14.6

Thanks!

@robberphex
Copy link
Owner

The prerequisite is that rz is installed at remote machine, if you want to upload file to remote machine.

@KeithTt
Copy link

KeithTt commented Jul 18, 2022

/usr/local/bin/iterm2-send-zmodem.sh: line 21: /usr/local/bin/sz: No such file or directory

Similar problem, it is normal in my old MBP, but not work in the new one.

iTerm2 Build 3.4.16
macOS Monterey 12.4

@robberphex
Copy link
Owner

Could you install lrzsz, by brew install lrzsz, and try again?

@KeithTt
Copy link

KeithTt commented Jul 18, 2022

@robberphex Thank you for reminding.

I tried to reinstall lrzsz

$ brew reinstall lrzsz
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/lrzsz-0.12.20_1.arm64_monterey.bottle.tar.gz
Already downloaded: /Users/shengyong.pei/Library/Caches/Homebrew/downloads/55cc0cc43a1d5437503ae16fe573e2515fd67d1c8e5990c67ae83199c71ea550--lrzsz-0.12.20_1.arm64_monterey.bottle.tar.gz
==> Reinstalling lrzsz
==> Pouring lrzsz-0.12.20_1.arm64_monterey.bottle.tar.gz
🍺  /opt/homebrew/Cellar/lrzsz/0.12.20_1: 18 files, 656.5KB
==> Running `brew cleanup lrzsz`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).

And found the binaries are in /opt/homebrew/Cellar/lrzsz/0.12.20_1/bin, then I copy them to /usr/local/bin

sudo cp -a lsz /usr/local/bin/sz
sudo cp -a lrz /usr/local/bin/rz

Then it works. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants