Fix not loading extra zsh files
This commit is contained in:
parent
2b55b7cb69
commit
0b0dbed47a
7 changed files with 30 additions and 69 deletions
|
|
@ -115,12 +115,24 @@ zstyle ':completion:*' menu no
|
|||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath'
|
||||
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
|
||||
|
||||
|
||||
# ╭──────────────────────────────────────────────────────────╮
|
||||
# │ ZSH Options │
|
||||
# ╰──────────────────────────────────────────────────────────╯
|
||||
setopt EXTENDED_GLOB
|
||||
setopt DOT_GLOB
|
||||
setopt GLOB_DOTS
|
||||
|
||||
# ╭──────────────────────────────────────────────────────────╮
|
||||
# │ Source other files │
|
||||
# ╰──────────────────────────────────────────────────────────╯
|
||||
source $HOME/.config/zsh/**/*.zsh
|
||||
source $HOME/.config/fzf/fzfrc
|
||||
|
||||
# this prevents errors and not loading some files
|
||||
for file in $HOME/.config/zsh/**/*.zsh; do
|
||||
source $file
|
||||
done
|
||||
|
||||
# ╭──────────────────────────────────────────────────────────╮
|
||||
# │ Init external programs │
|
||||
# ╰──────────────────────────────────────────────────────────╯
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue