安裝zsh
- curl下載安裝zsh
curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
- mac 替換掉默認(rèn)的terminal
cat /etc/shells // 查看所有shell
sudo cash -s /bin/zsh //替換zsh為默認(rèn)shell
iTerm2
分窗口操作:shift+command+d(橫向)command+d(豎向)
查找和粘貼:command+f,呼出查找功能,tab 鍵選中找到的文本,option+enter 粘貼
自動(dòng)完成:command+ 根據(jù)上下文呼出自動(dòng)完成窗口,上下鍵選擇
粘貼歷史:shift+command+h
回放功能:option+command+b
全屏:command+enter
光標(biāo)去哪了? command+/
Expose Tabs:option+command+e
oh-myzsh /highlighting