Alice52 / dotfiles

gitee.com
0 stars 0 forks source link

[tools] zsh #10

Closed Alice52 closed 1 year ago

Alice52 commented 1 year ago

centos instahh zsh with specified version

  1. install zsh

    sudo yum update -y
    sudo yum install -y git make ncurses-devel gcc autoconf man yodl
    git clone --depth 1 -b zsh-5.7.1 https://github.com/zsh-users/zsh.git /tmp/zsh
    cd /tmp/zsh
    ./Util/preconfig
    ./configure
    sudo make -j 20 install
  2. install oh-my-zsh

    sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  3. clone this repo, and execute install.sh

  4. source .zshrc

reference

  1. https://goangle.medium.com/my-awesome-zsh-weapon-2745cd34735d