Iterm2 使用Shell Integration真香!
integration
HACS gives you a powerful UI to handle downloads of all your custom needs.
项目地址:https://gitcode.com/gh_mirrors/in/integration
·
官方文档在此:https://iterm2.com/documentation-shell-integration.html
官方文档写的很详细,我只写写自己的使用心得。
安装方法
- bash
curl -L https://iterm2.com/shell_integration/bash \
-o ~/.iterm2_shell_integration.bash
编辑 ~/.bash_profile 或者 ~/.profile增加下面一行。
source ~/.iterm2_shell_integration.bash
- zsh
curl -L https://iterm2.com/shell_integration/zsh \
-o ~/.iterm2_shell_integration.zsh
编辑 ~/.zshrc文件末尾增加下面一行。
source ~/.iterm2_shell_integration.zsh
SSH实现密钥登录
可以参考我的这篇文章:
《Mac使用ssh连接远程服务器免密码登录》
https://blog.csdn.net/lxyoucan/article/details/112527301
SSH主机文件下载一键完成
在ssh中ls文件右键直接下载
这样就可以简单的下载成功啦!
拖拽文件 scp上传文件
按住 option从访达 拖拽文件到iTerm2中,文件直接上传。
这真的是太方便啦!
Marks
按 Cmd-Shift-Up↑ 或者 Cmd-Shift-Down↓ 按键.

可以显示输入命令的地方。
查看历史命令
Shift + Cmd + ;
Cmd-;自动补全
Cmd-Opt-/显示最近的历史目录。
HACS gives you a powerful UI to handle downloads of all your custom needs.
最近提交(Master分支:3 个月前 )
289d700f
Bump home-assistant/actions
Bumps [home-assistant/actions](https://github.com/home-assistant/actions) from 6778c32c6da322382854bd824e30fd4a4f3c20e5 to 87c064c607f3c5cc673a24258d0c98d23033bfc3.
- [Release notes](https://github.com/home-assistant/actions/releases)
- [Commits](https://github.com/home-assistant/actions/compare/6778c32c6da322382854bd824e30fd4a4f3c20e5...87c064c607f3c5cc673a24258d0c98d23033bfc3)
---
updated-dependencies:
- dependency-name: home-assistant/actions
dependency-version: 87c064c607f3c5cc673a24258d0c98d23033bfc3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 12 天前
7afcfc30
Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/dessant/lock-threads/releases)
- [Changelog](https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dessant/lock-threads/compare/1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771...7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7)
---
updated-dependencies:
- dependency-name: dessant/lock-threads
dependency-version: 6.0.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 12 天前
AtomGit 是由开放原子开源基金会联合 CSDN 等生态伙伴共同推出的新一代开源与人工智能协作平台。平台坚持“开放、中立、公益”的理念,把代码托管、模型共享、数据集托管、智能体开发体验和算力服务整合在一起,为开发者提供从开发、训练到部署的一站式体验。
更多推荐


所有评论(0)