Coder Social home page Coder Social logo

Regex not triggering about iterm2-zmodem HOT 4 CLOSED

robberphex avatar robberphex commented on July 29, 2024
Regex not triggering

from iterm2-zmodem.

Comments (4)

robberphex avatar robberphex commented on July 29, 2024

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

from iterm2-zmodem.

KeithTt avatar KeithTt commented on July 29, 2024
/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

from iterm2-zmodem.

robberphex avatar robberphex commented on July 29, 2024

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

from iterm2-zmodem.

KeithTt avatar KeithTt commented on July 29, 2024

@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.

from iterm2-zmodem.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.