Install zsh

Install zsh

# install zsh
## CentOS
yum install zsh wget git -y

# install oh-my-zsh
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

# install zsh-syntax-highlighting
## Linux
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting && sed -i 's/^plugins=(/plugins=(zsh-syntax-highlighting /' ~/.zshrc
## Mac
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting && sed -i "" 's/^plugins=(/plugins=(zsh-syntax-highlighting /' ~/.zshrc

# install zsh-autosuggestions
## Linux
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions && sed -i 's/^plugins=(/plugins=(zsh-autosuggestions /' ~/.zshrc
## Mac
git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions && sed -i "" 's/^plugins=(/plugins=(zsh-autosuggestions /' ~/.zshrc

   转载规则


《Install zsh》 Mycroft Wong 采用 知识共享署名 4.0 国际许可协议 进行许可。
 上一篇
Install CMake Install CMake
Install CMakeUbuntu 22.04 仓库目前的 CMake 版本是 3.22.1-1ubuntu1.22.04.1,有时需要安装更新的版本,则可以下载官方包进行安装。 下载地址: https://github.com/Ki
2023-06-13 Mycroft Wong
下一篇 
DNF on CentOS 7 DNF on CentOS 7
DNF on CentOS 7在 CentOS 7 上大部分时候需要通过 YUM 安装软件,但有些软件只能使用 DNF,所以必须先安装 DNF 后,再安装其他软件。 安装 DNF安装 DNF 之前需要先安装并启用 epel-release
2022-11-16 Mycroft Wong
  目录