zsh配置

zsh安装

sudo apt install zsh
chsh -s /bin/zsh
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git

zsh配置文件

# Lines configured by zsh-newuser-install
source ~/zsh-autocomplete/zsh-autocomplete.plugin.zsh
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt autocd extendedglob nomatch notify
bindkey -e
# End of lines configured by zsh-newuser-install
# The following lines were added by compinstall
zstyle :compinstall filename '/home/yesky/.zshrc'
zstyle ':completion:*' menu select
autoload -U compinit
compinit

setopt correctall

# prompt
autoload -U promptinit
promptinit

prompt fire -c red
# End of lines added by compinstall