大家肯定都遇到过有那么一瞬间忘记自己当前的终端是哪台服务器的事情(没有的闭嘴 哈哈哈哈哈),而且恍惚间也容易把本该在其他服务器上操作的命令写在错误的服务器上。所以搞了这么个插件,每当你登陆服务器的时候,都会把 iterm2 的 tab 高亮变色,而且在右上角加上一个服务器标志提醒,从而随时提醒着自己当前是在哪台机器上。 大家有兴趣的可以看一看呀
https://github.com/shawn-bluce/server_tag/
![]() | 1 JJstyle 2020-08-24 10:03:42 +08:00 请问你标签页的布局怎么设置的(标签和标题栏共用一行),感觉不错 |
![]() | 2 lululau 2020-08-24 10:04:49 +08:00 赞 |
![]() | 3 shawnbluce OP ![]() @JJstyle #1 Perferences -> Appearance -> General -> Theme = Minimal |
![]() | 4 Foralrec 2020-08-24 10:32:53 +08:00 体验一下. 话说不知道 status bar 组件能不能扩展 |
5 littlewing 2020-08-24 11:00:40 +08:00 via iPhone 不知道支不支持堡垒机登陆的方式 |
![]() | 6 leyle 2020-08-24 16:17:01 +08:00 maybe parses and extends .ssh/config is a better choice. |
![]() | 7 wupher 2020-08-24 17:23:59 +08:00 赞 +1 |
![]() | 8 shawnbluce OP @littlewing #5 堡垒机不太行,我这个插件是用 ssh 命令解析的。不过倒是可以标记你再堡垒机上,而非本地或是直连其他服务器 |
![]() | 9 ladychili 2020-08-25 09:08:42 +08:00 @shawnbluce #3 原来是 3.3 的新功能~ 这才发现好久都没有更新 iterm2 了 |
![]() | 10 shawnbluce OP @ladychili #9 我也没太注意版本,上半年才买的电脑,装上就有 |
![]() | 11 kingfalse 2020-08-25 13:21:00 +08:00 via Android ![]() 借楼安利一波,一键安装一个漂亮强大的 iterm2 。https://github.com/KingFalse/ohmyiterm2 |