~tardypad/dotfiles

ref: 6c6da645bdf106f6cb251579c4eb42cbb0a19e8d dotfiles/files/configs/zsh/zshrc -rw-r--r-- 505 bytes
6c6da645 — Damien Tardy-Panis Remove unused _operands function in _time-tracker completion 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# load all individual configs
# plugins with config need to be loaded at the end

plugins_conf="${HOME}/.zsh/config.d/plugins.zsh"

for conf in "${HOME}/.zsh/config.d/"*.zsh; do
  [ "${conf}" = "${plugins_conf}" ] && continue
  source "${conf}"
done
unset conf

source "${plugins_conf}"
unset plugins_conf

# add personal functions directories
fpath=(
  "${HOME}/.zsh/functions/"
  $fpath
)

# autoload all functions
for func in "${HOME}/.zsh/functions"/*; do
  autoload -Uz "${func##*/}"
done
unset func