diff options
Diffstat (limited to '.config/zsh/early')
-rw-r--r-- | .config/zsh/early/powerlevel10k.zsh | 6 | ||||
-rw-r--r-- | .config/zsh/early/zsh-nvm.zsh | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/.config/zsh/early/powerlevel10k.zsh b/.config/zsh/early/powerlevel10k.zsh new file mode 100644 index 0000000..c96d2b0 --- /dev/null +++ b/.config/zsh/early/powerlevel10k.zsh @@ -0,0 +1,6 @@ +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. +# Initialization code that may require console input (password prompts, [y/n] +# confirmations, etc.) must go above this block; everything else may go below. +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 diff --git a/.config/zsh/early/zsh-nvm.zsh b/.config/zsh/early/zsh-nvm.zsh new file mode 100644 index 0000000..b61284e --- /dev/null +++ b/.config/zsh/early/zsh-nvm.zsh @@ -0,0 +1,2 @@ +# Does not work anyway and breaks compinit when called at the end of zshrc. +export NVM_COMPLETION=false |