changed config for a more structurized approach

This commit is contained in:
pika 2025-01-07 00:01:06 +01:00
parent fe93b5b3e5
commit 2585c0102a
4 changed files with 494 additions and 473 deletions

35
.zsh/.plugins.zsh Normal file
View 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