feat(zsh): add nix completions

This commit is contained in:
Price Hiller 2022-08-28 15:37:34 -05:00
parent cc96619b39
commit 06ca918c29
3 changed files with 6 additions and 0 deletions

3
.gitmodules vendored
View File

@ -16,3 +16,6 @@
[submodule "dots/.config/zsh/config/plugins/z.lua"]
path = dots/.config/zsh/config/plugins/z.lua
url = https://github.com/skywind3000/z.lua.git
[submodule "dots/.config/zsh/config/plugins/nix-zsh-completions"]
path = dots/.config/zsh/config/plugins/nix-zsh-completions
url = https://github.com/spwhitt/nix-zsh-completions

View File

@ -17,6 +17,8 @@ init() {
source "${wkdir}/zsh-autosuggestions/zsh-autosuggestions.zsh"
source "${wkdir}/zsh-completions/zsh-completions.plugin.zsh"
source "${wkdir}/zsh-vi-mode/zsh-vi-mode.zsh"
source "${wkdir}/nix-zsh-completions/nix.plugin.zsh"
FPATH="${FPATH}:${wkdir}/nix-zsh-completions"
eval "$(lua "${wkdir}/z.lua/z.lua" --init zsh enhanced once)"
configure

@ -0,0 +1 @@
Subproject commit 468d8cf752a62b877eba1a196fbbebb4ce4ebb6f