Use zsh terminal

One day I find that the terminal style between mine and other's are different and I wonder how they do that, so, then I find zsh

  • Install zsh

    sudo apt install zsh
    #使用镜像源安装oh-my-zsh
    sh -c "$(curl -fsSL https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh)"
    #编辑theme主题
    vim ~/.zshrc
    # ZSH_THEME="powerlevel10k/powerlevel10k"
    <div markdown="1" style="margin-top: -30px; font-size: 0.75em; opacity: 0.7;">
    :material-circle-edit-outline:  39 个字 :fontawesome-solid-code: 6 行代码 
    </div>
    

  • We may also need to config windows terminal's filesettings.json