diff options
author | A Farzat <a@farzat.xyz> | 2024-02-20 11:51:29 +0900 |
---|---|---|
committer | A Farzat <a@farzat.xyz> | 2024-10-14 11:51:29 +0900 |
commit | e163abbc54578e793c4ad2aa0a649916ed48f43d (patch) | |
tree | ba09c116e0fb5fa5748c28d871d4cc0dba933675 | |
parent | dc70f80c56970957b33db6ed1212581dcad2196c (diff) | |
download | zsh-e163abbc54578e793c4ad2aa0a649916ed48f43d.tar.gz zsh-e163abbc54578e793c4ad2aa0a649916ed48f43d.zip |
Add early configuration files
-rw-r--r-- | early/powerlevel10k.zsh | 6 | ||||
-rw-r--r-- | early/zsh-nvm.zsh | 2 |
2 files changed, 8 insertions, 0 deletions
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 |