diff --git a/.gitmodules b/.gitmodules index 89e1d07..bb32605 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,9 +13,6 @@ [submodule ".config/zsh/config/plugins/fzf-tab"] path = .config/zsh/config/plugins/fzf-tab url = https://github.com/Aloxaf/fzf-tab.git -[submodule "dots/.config/zsh/plugins/z"] - path = dots/.config/zsh/plugins/z - url = https://github.com/rupa/z.git -[submodule "dots/.config/zsh/plugins/fz.sh"] - path = dots/.config/zsh/plugins/fz.sh - url = https://github.com/changyuheng/fz.sh.git +[submodule "dots/.config/zsh/plugins/z.lua"] + path = dots/.config/zsh/plugins/z.lua + url = https://github.com/skywind3000/z.lua.git diff --git a/dots/.config/zsh/plugins/fz.sh b/dots/.config/zsh/plugins/fz.sh deleted file mode 160000 index 7b4e215..0000000 --- a/dots/.config/zsh/plugins/fz.sh +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 7b4e215f5887b24e1ef725ffdb89f3479e913875 diff --git a/dots/.config/zsh/plugins/init.zsh b/dots/.config/zsh/plugins/init.zsh index a1ff8ff..7136319 100644 --- a/dots/.config/zsh/plugins/init.zsh +++ b/dots/.config/zsh/plugins/init.zsh @@ -9,8 +9,7 @@ init() { source "${wkdir}/zsh-completions/zsh-completions.plugin.zsh" source "${wkdir}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" source "${wkdir}/zsh-vi-mode/zsh-vi-mode.zsh" - source "${wkdir}/z/z.sh" - source "${wkdir}/fz.sh/fz.plugin.zsh" + eval "$("${wkdir}/z.lua/z.lua" --init zsh enhanced once fzf)" configure } diff --git a/dots/.config/zsh/plugins/z b/dots/.config/zsh/plugins/z deleted file mode 160000 index b82ac78..0000000 --- a/dots/.config/zsh/plugins/z +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b82ac78a2d4457d2ca09973332638f123f065fd1 diff --git a/dots/.config/zsh/plugins/z.lua b/dots/.config/zsh/plugins/z.lua new file mode 160000 index 0000000..632f722 --- /dev/null +++ b/dots/.config/zsh/plugins/z.lua @@ -0,0 +1 @@ +Subproject commit 632f722ee4fa7434f8271d7c4092d8303817ba73