diff options
author | A Farzat <a@farzat.xyz> | 2024-11-05 07:42:55 +0900 |
---|---|---|
committer | A Farzat <a@farzat.xyz> | 2024-11-13 07:42:55 +0900 |
commit | cb5affa0e11c200f175e26ced4f2866aa916d2c9 (patch) | |
tree | 157d2d413b3e1090fecb9aeb06cd51b49040a2c9 /.config/zsh/.zshrc | |
parent | 6afb1f1eec5a8254635773f952fb6494f35a1933 (diff) | |
download | dotfiles-cb5affa0e11c200f175e26ced4f2866aa916d2c9.tar.gz dotfiles-cb5affa0e11c200f175e26ced4f2866aa916d2c9.zip |
Remove zsh submodule
Zsh config will be included as bare files instead of a submodule. The
zsh config repo will still exist, but the content will be used by yadm
without the repo itself.
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r-- | .config/zsh/.zshrc | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc new file mode 100644 index 0000000..0acd1f1 --- /dev/null +++ b/.config/zsh/.zshrc @@ -0,0 +1,41 @@ +typeset -A ZI +ZI[HOME_DIR]="${XDG_STATE_HOME:-$HOME/.local/state}/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" |