image
image
整體的搭配組合為:iTerm2+Oh my zsh +zsh,以下為操作步驟:
1、使用以下命令可以查看當前所支持的shell
cat /etc/shells
2、使用以下命令查看當前所使用的shell
echo $SHELL
3、修改默認shell
chsh -s /bin/zsh
4、安裝oh my zsh GitHub地址
via curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
via wget
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
5、最后安裝iTerm2
iTerm2
特性
選中即復制
選中某個單詞或者一行命令,那么就已經被復制了,無需再使用command+c。
屏幕分隔
使用command+d垂直分割命令窗口
使用command+shift+d水平分割命令窗口
快速喚出
默認設置未開啟快速喚出。
設置方法:command+, ---->選擇keys---->Hotkey
顯示復制歷史
shift+command+h快捷鍵可以快速顯示出復制過的歷史記錄。
快捷鍵記錄
快捷鍵 | 功能說明 |
---|---|
shift+command+h | 快速顯示復制過的歷史記錄 |
command+d | 垂直分割 |
command+shift+d | 水平分割 |