From e163abbc54578e793c4ad2aa0a649916ed48f43d Mon Sep 17 00:00:00 2001 From: A Farzat Date: Tue, 20 Feb 2024 11:51:29 +0900 Subject: Add early configuration files --- early/powerlevel10k.zsh | 6 ++++++ early/zsh-nvm.zsh | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 early/powerlevel10k.zsh create mode 100644 early/zsh-nvm.zsh diff --git a/early/powerlevel10k.zsh b/early/powerlevel10k.zsh new file mode 100644 index 0000000..d657c48 --- /dev/null +++ b/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/early/zsh-nvm.zsh b/early/zsh-nvm.zsh new file mode 100644 index 0000000..b61284e --- /dev/null +++ b/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 -- cgit v1.2.3-70-g09d2