zsh配置

zsh个人配置

安装zsh

  • ubuntu 系统

    1
    sudo apt install zsh
  • 安装.oh-my-zsh

    1
    2
    3
    4
    5
    # curl 方式:    
    sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

    #wget 方式:
    sh -c "$(wget https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"

配置

  • 插件
    1
    2
    3
    4
    5
    6
    7
    8
    # extract 解析zip包
    # zsh-syntax-highlighting 语法高亮显示
    # zsh-autosuggestions 自动补全
    plugins=(
    extract
    zsh-syntax-highlighting
    zsh-autosuggestions
    )