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 >>>
|
### Plugins >>>
|
||||||
{
|
{
|
||||||
# plugin config >>>
|
# 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
|
# vim-mode cursor
|
||||||
# syntax: "[color] [blinking] [style]" see: https://github.com/softmoth/zsh-vim-mode#mode-in-prompt
|
# syntax: "[color] [blinking] [style]" see: https://github.com/softmoth/zsh-vim-mode#mode-in-prompt
|
||||||
MODE_CURSOR_VIINS="blinking bar"
|
MODE_CURSOR_VIINS="blinking bar"
|
||||||
|
@ -516,6 +513,9 @@
|
||||||
autoload -Uz _zinit
|
autoload -Uz _zinit
|
||||||
(( ${+_comps} )) && _comps[zinit]=_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
|
# Load a few important annexes, without Turbo
|
||||||
# (this is currently required for annexes)
|
# (this is currently required for annexes)
|
||||||
zinit light-mode for \
|
zinit light-mode for \
|
||||||
|
|
Loading…
Add table
Reference in a new issue