diff options
author | A Farzat <a@farzat.xyz> | 2024-02-18 01:20:28 +0900 |
---|---|---|
committer | A Farzat <a@farzat.xyz> | 2024-10-14 01:20:28 +0900 |
commit | dc70f80c56970957b33db6ed1212581dcad2196c (patch) | |
tree | 9da096bde933528e4c0050d9cef2c6448e046601 /.zshrc | |
parent | 76663e01f6762f3b832e42f5aed085c272f1633d (diff) | |
download | zsh-dc70f80c56970957b33db6ed1212581dcad2196c.tar.gz zsh-dc70f80c56970957b33db6ed1212581dcad2196c.zip |
Add zshrc and init file for zi
Diffstat (limited to '.zshrc')
-rw-r--r-- | .zshrc | 41 |
1 files changed, 41 insertions, 0 deletions
@@ -0,0 +1,41 @@ +typeset -A ZI +ZI[HOME_DIR]="${FFILES:-${XDG_CACHE_DIR:-$HOME/.cache}}/zi" +source "$ZDOTDIR/zi.init.zsh" && zzinit + +# Load all of your early custom configurations. +function { +local config_file +for config_file ("$ZDOTDIR"/early/*.zsh(N)); do + source "$config_file" +done +} + +zi light "https://github.com/romkatv/powerlevel10k.git" +zi snippet "https://github.com/ohmyzsh/ohmyzsh/raw/master/plugins/vi-mode/vi-mode.plugin.zsh" +zi ice lucid wait has="fzf" +zi light "https://github.com/Aloxaf/fzf-tab.git" +zi ice blockf from="cgit.farzat.xyz" +zi load "dotfiles/my-zsh-completions" +zi ice lucid wait blockf +zi load "https://github.com/zsh-users/zsh-completions.git" +zi ice lucid wait +zi light "https://github.com/z-shell/F-Sy-H.git" +zi ice lucid wait as'completion' blockf has'man' +zi snippet "$ZDOTDIR/resources/completion/_man" + +# Load all of your custom configurations. +function { +local config_file +for config_file ("$ZDOTDIR"/halfway/*.zsh(N)); do + source "$config_file" +done +} + +# Load zsh completion. +autoload -Uz compinit +compinit +# Load completions saved by zi till now. +zi cdreplay -q + +# Load powerlevel10k configurations. +source "$ZDOTDIR/manual/p10k.zsh" |