zsh: fixed apparent freeze when installing zinit
This commit is contained in:
parent
4245dc1ca2
commit
8ebfb3b8d2
1 changed files with 3 additions and 3 deletions
6
.zshrc
6
.zshrc
|
@ -488,9 +488,6 @@
|
|||
### Plugins >>>
|
||||
{
|
||||
# plugin config >>>
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
# vim-mode cursor
|
||||
# syntax: "[color] [blinking] [style]" see: https://github.com/softmoth/zsh-vim-mode#mode-in-prompt
|
||||
MODE_CURSOR_VIINS="blinking bar"
|
||||
|
@ -516,6 +513,9 @@
|
|||
autoload -Uz _zinit
|
||||
(( ${+_comps} )) && _comps[zinit]=_zinit
|
||||
|
||||
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
|
||||
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
|
||||
fi
|
||||
# Load a few important annexes, without Turbo
|
||||
# (this is currently required for annexes)
|
||||
zinit light-mode for \
|
||||
|
|
Loading…
Add table
Reference in a new issue