addet autopairs plugin and some other

This commit is contained in:
pika 2024-09-12 19:59:18 +02:00
parent e6509a1240
commit 57bbfdaaa0
3 changed files with 13 additions and 1 deletions

4
.gitmodules vendored
View file

@ -6,3 +6,7 @@
path = .zsh/syntax-highlighting
url = https://github.com/zsh-users/zsh-syntax-highlighting
branch = master
[submodule ".zsh/autopairs"]
path = .zsh/autopairs
url = https://github.com/hlissner/zsh-autopair
branch = master

1
.zsh/autopairs Submodule

@ -0,0 +1 @@
Subproject commit 449a7c3d095bc8f3d78cf37b9549f8bb4c383f3d

9
.zshrc
View file

@ -81,8 +81,15 @@ _init (){
local zconf="$HOME/.zsh"
local zAutosg="$zconf/autosuggestions/zsh-autosuggestions.zsh"
local zSynthl="$zconf/syntax-highlighting/zsh-syntax-highlighting.zsh"
local zTruecolor="$zconf/custom/256color.zsh"
local zAutopairs="$zconf/autopairs/zsh-autopair.plugin.zsh"
local _pluginlist=("$zAutosg" "$zSynthl")
local _pluginlist=(
"$zAutosg"
"$zSynthl"
"$zTruecolor"
"$zAutopairs"
)
# ─< init plugis >────────────────────────────────────────────────────────────────────────
for zPlug in "${_pluginlist[@]}"; do