Linux shell enhance
Changelog
data: 2020-05-08
Fixed
date: 2020-04-03
Added
- Add ohmyzsh/wiki/Plugins link to improve experience
1.1 安装前准备
1 2
| yay -S zsh git wget curl chsh -s $(which zsh)
|
1 2
| sudo apt-get install zsh git wget curl chsh -s $(which zsh)
|
1 2
| sudo dnf install util-linux-user
|
记得重启来应用设置
1.2 安装 oh-my-zsh
1
| sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
1.3 配置 oh-my-zsh
Oh-My-Zsh 配置文件路径:
1.3.1 插件
Zsh community projects: zsh-users
- 安装
zsh语法高亮
和zsh自动建议
插件:
1 2
| git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
- 更改配置文件中
plugins
项为(@ohmyzsh/wiki/Plugins ):
1
| plugins=(vim-interaction pip git sudo extract z wd archlinux zsh-autosuggestions zsh-syntax-highlighting)
|
1.3.2 更换主题
更改配置文件中ZSH_THEME
项为: