Skip to content

Commit 3a3c37b

Browse files
committed
2017-03-29完善SSH和zsh
1 parent 6134d23 commit 3a3c37b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

SSH.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474

7575
- 命令:`service sshd restart`
7676

77+
## 常用 SSH 连接终端
78+
79+
- Windows -- Xshell:<http://www.youmeek.com/ssh-terminal-emulator-recommend-xshell-and-xftp/>
80+
- Mac -- ZOC:<http://xclient.info/s/zoc-terminal.html>
81+
7782
## SSH 资料
7883

7984
- <http://www.jikexueyuan.com/course/861_1.html?ss=1>

Zsh.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,12 @@
7575
- 进入解压后目录并安装:`cd autojump_v21.1.2/ ; ./install.sh`
7676
- 再执行下这个:`source /etc/profile.d/autojump.sh`
7777
- 编辑配置文件,添加上 autojump 的名字:`vim /root/.zshrc`
78-
79-
78+
- `zsh-syntax-highlighting`
79+
- 这个插件会记录你常去的那些目录,然后做一下权重记录,你可以用这个命令看到你的习惯:`j --stat`,如果这个里面有你的记录,那你就只要敲最后一个文件夹名字即可进入,比如我个人习惯的 program:`j program`,就可以直接到:`/usr/program`
80+
- 插件官网:<https://github.com/zsh-users/zsh-syntax-highlighting>
81+
- 安装,复制该命令:'git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting'
82+
- 编辑:`vim ~/.zshrc`,找到这一行,后括号里面的后面添加:`plugins=( 前面的一些插件名称 zsh-syntax-highlighting)`
83+
- 刷新下配置:`source ~/.zshrc`
8084

8185
### 主题
8286

0 commit comments

Comments
 (0)