refactor(hm/price): use z.lua via home manager not zsh
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m35s

This commit is contained in:
Price Hiller 2024-09-07 13:35:01 -05:00
parent 17738caeb4
commit 0872808b7a
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
4 changed files with 18 additions and 16 deletions

3
.gitmodules vendored
View File

@ -10,9 +10,6 @@
[submodule "dots/.config/zsh/config/plugins/fzf-tab"]
path = users/price/dots/.config/zsh/config/plugins/fzf-tab
url = https://github.com/Aloxaf/fzf-tab.git
[submodule "dots/.config/zsh/config/plugins/z.lua"]
path = users/price/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 = users/price/dots/.config/zsh/config/plugins/nix-zsh-completions
url = https://github.com/spwhitt/nix-zsh-completions

View File

@ -1,6 +1,14 @@
{ config, ... }:
{
programs.zsh = {
programs = {
z-lua = {
enable = true;
options = [
"enhanced"
"once"
];
};
zsh = {
enable = true;
enableCompletion = true;
initExtra = builtins.readFile ./init-extra.zsh;
@ -10,4 +18,5 @@
in
"mkdir -p ${zsh-cache-dir} && autoload -U compinit && compinit -d ${zsh-cache-dir}/zcompdump-$ZSH_VERSION";
};
};
}

View File

@ -17,9 +17,6 @@ init() {
FPATH="${FPATH}:${wkdir}/nix-zsh-completions"
export _ZL_DATA="${_ZL_DATA:-"$XDG_CACHE_HOME/zlua"}"
eval "$(lua "${wkdir}/z.lua/z.lua" --init zsh enhanced once)"
[[ -r "${XDG_CONFIG_HOME}/fzf/fzf.zsh" ]] && source "${XDG_CONFIG_HOME}/fzf/fzf.zsh"
configure

@ -1 +0,0 @@
Subproject commit 30220996cae675f9ec12fc3aeb2b5c3d957af8c8