refactor(zsh): move configuration files
This commit is contained in:
parent
b7518872ff
commit
b58302c1ee
21 changed files with 17 additions and 7 deletions
23
roles/zsh/files/config/.zshrc
Normal file
23
roles/zsh/files/config/.zshrc
Normal file
|
@ -0,0 +1,23 @@
|
|||
sources=(
|
||||
'aliases'
|
||||
'colour'
|
||||
'functions'
|
||||
'fzf'
|
||||
'general'
|
||||
'git'
|
||||
'history'
|
||||
'navigation'
|
||||
'nvm'
|
||||
'options'
|
||||
'path'
|
||||
'platformsh'
|
||||
'plugins'
|
||||
'prompt'
|
||||
'post/completion'
|
||||
)
|
||||
for s in "${sources[@]}"; do
|
||||
source $ZDOTDIR/configs/${s}.zsh
|
||||
done
|
||||
|
||||
# Local config
|
||||
[[ -f ~/.zshrc.local ]] && source ~/.zshrc.local
|
Loading…
Add table
Add a link
Reference in a new issue