zsh
Zsh
安装
sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
sh
cd ~/.oh-my-zsh/plugins
sh
gcl https://github.com/zsh-users/zsh-autosuggestions.git
sh
gcl https://github.com/zsh-users/zsh-syntax-highlighting.git
sh
gcl https://github.com/agkozak/zsh-z.git
sh
cd ~
sh
curl -sS https://starship.rs/install.sh | sh
使用说明
sh
plugins=(
git
command-not-found
zsh-autosuggestions
zsh-syntax-highlighting
zsh-z
)
sh
eval "$(starship init zsh)"
sh
function i() {
cd ~/i/$1
}