From a25f7142c0b5efce0a4be17acce4e536470b1ce0 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 1 Aug 2022 03:17:12 -0500 Subject: [PATCH] feat: replace z with z.lua --- .gitmodules | 9 +++------ dots/.config/zsh/plugins/fz.sh | 1 - dots/.config/zsh/plugins/init.zsh | 3 +-- dots/.config/zsh/plugins/z | 1 - dots/.config/zsh/plugins/z.lua | 1 + 5 files changed, 5 insertions(+), 10 deletions(-) delete mode 160000 dots/.config/zsh/plugins/fz.sh delete mode 160000 dots/.config/zsh/plugins/z create mode 160000 dots/.config/zsh/plugins/z.lua 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