本文共 822 字,大约阅读时间需要 2 分钟。
1.安装终端软件terminator,可自行选择。
sudo apt-get install terminator -y
2.安装zsh
sudo apt-get install zsh -y
3.安装
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
4.安装字体
# clonegit clone https://github.com/powerline/fonts.git --depth=1# installcd fonts./install.sh# clean-up a bitcd ..rm -rf fonts
5.设置终端字体为“Meslo LG M DZ for Powerline”
6.设置ohmyzsh主题为
git clone https://github.com/bhilburn/powerlevel9k.git ~/.oh-my-zsh/custom/themes/powerlevel9k#编辑~/.zshrcZSH_THEME="powerlevel9k/powerlevel9k"
7.设置的Prompt Segments
export POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(os_icon user dir)
8.安装oh-my-zsh插件
#高亮插件https://github.com/zsh-users/zsh-syntax-highlighting.git #语法历史记录自动补全插件https://github.com/zsh-users/zsh-autosuggestions#自动跳转插件https://github.com/wting/autojumpsudo apt-get install autojump -y
转载地址:http://fiwsi.baihongyu.com/