当前位置: 首页 > 工具软件 > Oh My Fan! > 使用案例 >

Ubuntu系统下oh my zsh的安装与配置

阎扬
2023-12-01
sudo apt-get install zsh

chsh -s /bin/zsh

sh -c "$(curl -fsSL https://gitee.com/shmhlsy/oh-my-zsh-install.sh/raw/master/install.sh)"

git clone https://gitee.com/zhetianlab/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-autosuggestions

git clone https://gitee.com/lightnear/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh}/plugins/zsh-syntax-highlighting

sudo apt-get install autojump

gedit ~/.zshrc

plugins=(git),改为 plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
ZSH_THEME="ys"

source ~/.zshrc
 类似资料: