标签:安装完成 压缩 exp master idt mbed ruby 解压 执行
1.先安装item2,item2 市类似mac风格的终端2.Install Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
3.使用brew 安装lrzsz
brew install lrzsz
安装完成后检查 ls -alh /usr/local/bin/sz 是否存在
如果出现ls: /usr/local/bin/sz: No such file or directory 执行如下命令
# ln -s /usr/local/bin/lrz /usr/local/bin/rz
# ln -s /usr/local/bin/lsz /usr/local/bin/sz
4.下载iterm2-zmodem
# cd /usr/local/bin
# sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-send-zmodem.sh
# sudo wget https://raw.github.com/mmastrac/iterm2-zmodem/master/iterm2-recv-zmodem.sh
#sudo chmod 777 /usr/local/bin/iterm2-*
5.运行下载的 iterm 添加trigger
打开iterm2 ------ 同时按 command和,键 ------- Profiles ---------- Default ------- Advanced ------ Triggers的Edit按钮
Regular expression: \*\*B0100
Action: Run Silent Coprocess
Parameters: /usr/local/bin/iterm2-send-zmodem.sh
Regular expression: \*\*B00000000000000
Action: Run Silent Coprocess
Parameters: /usr/local/bin/iterm2-recv-zmodem.sh
标签:安装完成 压缩 exp master idt mbed ruby 解压 执行
原文地址:http://blog.51cto.com/10630401/2140857