changed config for a more structurized approach
This commit is contained in:
parent
fe93b5b3e5
commit
2585c0102a
4 changed files with 494 additions and 473 deletions
35
.zsh/.plugins.zsh
Normal file
35
.zsh/.plugins.zsh
Normal file
|
@ -0,0 +1,35 @@
|
|||
# ─< environment variables for zsh >──────────────────────────────────────────────────────
|
||||
local zplug="$HOME/.zsh/plugins"
|
||||
|
||||
local zFzfCd="$zplug/custom/zsh-interactive-cd.plugin.zsh"
|
||||
local zTruecolor="$zplug/custom/256color.zsh"
|
||||
local zAgentManagement="$zplug/custom/agent.zsh"
|
||||
local zCommandNotFound="$zplug/custom/command-not-found.plugin.zsh"
|
||||
|
||||
local zFzf="$zplug/fzf-zsh-plugin/fzf-zsh-plugin.plugin.zsh"
|
||||
local zAutosg="$zplug/autosuggestions/zsh-autosuggestions.zsh"
|
||||
local zSynthl="$zplug/syntax-highlighting/zsh-syntax-highlighting.zsh"
|
||||
local zAutopairs="$zplug/autopairs/autopair.zsh"
|
||||
local zExtraction="$zplug/extract/extract.plugin.zsh"
|
||||
|
||||
local _pluginlist=(
|
||||
"$zAutosg"
|
||||
"$zSynthl"
|
||||
"$zTruecolor"
|
||||
"$zAutopairs"
|
||||
"$zFzf"
|
||||
"$zFzfCd"
|
||||
"$zAgentManagement"
|
||||
"$zCommandNotFound"
|
||||
"$zExtraction"
|
||||
)
|
||||
|
||||
DEBUG_PLUG=""
|
||||
|
||||
# ─< init plugis >────────────────────────────────────────────────────────────────────────
|
||||
for zPlug in "${_pluginlist[@]}"; do
|
||||
[[ -f "$zPlug" ]] &&
|
||||
. $zPlug
|
||||
DEBUG_PLUG="$DEBUG_PLUG
|
||||
plugin $zPlug loadet."
|
||||
done
|
Loading…
Add table
Add a link
Reference in a new issue