knowledge-base

我的知识库 / 操作系统 / ohmyzsh

ohmyzsh

macos

echo $SHELL
/bin/zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
plugins=(git docker docker-compose kubectl autojump zsh-autosuggestions)

linux

sudo apt update
sudo apt install zsh -y
chsh -s /usr/bin/zsh

打开新的终端,将使用 zsh

echo $SHELL
/usr/bin/zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
plugins=(git docker docker-compose kubectl autojump zsh-autosuggestions globalias)

GLOBALIAS_FILTER_VALUES=(ls grep)

« MacOS

» openssl