Update zsh config

This commit is contained in:
rydesun 2022-02-07 16:18:45 +08:00
parent 9c056f7792
commit aa295d7769
3 changed files with 8 additions and 7 deletions

View file

@ -9,4 +9,4 @@ fi
echo Installing zinit...
git clone --depth 1 --single-branch \
https://github.com/zdharma/zinit.git $zinit_bin_dir
https://github.com/zdharma-continuum/zinit.git $zinit_bin_dir

View file

@ -43,7 +43,7 @@ ZINIT[ZCOMPDUMP_PATH]=${_ZSH_CACHE_DIR}/zcompdump-${ZSH_VERSION}
source ${ZINIT[BIN_DIR]}/zinit.zsh
zinit ice lucid wait
zinit light zdharma/fast-syntax-highlighting # 语法高亮
zinit light zdharma-continuum/fast-syntax-highlighting # 语法高亮
zinit ice lucid wait atload='_zsh_autosuggest_start'
zinit light zsh-users/zsh-autosuggestions # 提示历史命令
zinit light zsh-users/zsh-completions # 更多命令补全

View file

@ -1,11 +1,12 @@
# Linux 配置
- 使用 `pam_environment` 管理环境变量
- 使用 `kitty` 虚拟终端
- 使用 [everforest](https://github.com/sainnhe/everforest) 配色主题
- 不使用 `Powerline``Oh My Zsh`
使用 `pam_environment` 管理环境变量
另见 [如何使用 Git 管理 Linux 配置?](https://2cat.cc/post/diyo4/)
使用 [kitty](https://sw.kovidgoyal.net/kitty/) 虚拟终端
使用 [everforest](https://github.com/sainnhe/everforest) 配色主题
使用 [zinit](https://github.com/zdharma-continuum/zinit) 管理 zsh 插件
## 更多