mirror of
https://github.com/kossLAN/zsh-flake.git
synced 2025-11-05 02:09:49 -05:00
nix/wrapZsh: remove ability for extraPackages
This commit is contained in:
parent
15c3d6eae6
commit
a6cd75f1c3
2 changed files with 1 additions and 6 deletions
|
|
@ -15,10 +15,6 @@ in {
|
||||||
# Whether or not to enable auto suggestions
|
# Whether or not to enable auto suggestions
|
||||||
autoSuggestions = true;
|
autoSuggestions = true;
|
||||||
|
|
||||||
extraPackages = with pkgs; [
|
|
||||||
fzf
|
|
||||||
];
|
|
||||||
|
|
||||||
# Additional .zshrc configuration that you can add that will be appended to the .zshrc
|
# Additional .zshrc configuration that you can add that will be appended to the .zshrc
|
||||||
extraZshrc = ''
|
extraZshrc = ''
|
||||||
# Stupid thing broken in NixOS module I think
|
# Stupid thing broken in NixOS module I think
|
||||||
|
|
@ -30,7 +26,7 @@ in {
|
||||||
bindkey "^[[1;5D" backward-word
|
bindkey "^[[1;5D" backward-word
|
||||||
|
|
||||||
# Special plugin cases
|
# Special plugin cases
|
||||||
source <(fzf --zsh)
|
source <(${lib.getExe pkgs.fzf} --zsh)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# A list of path's to a plugin
|
# A list of path's to a plugin
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,6 @@ in
|
||||||
''} $out/etc/zsh/.zshrc
|
''} $out/etc/zsh/.zshrc
|
||||||
|
|
||||||
wrapProgram $out/bin/zsh \
|
wrapProgram $out/bin/zsh \
|
||||||
--prefix PATH : "${lib.makeBinPath conf.extraPackages}" \
|
|
||||||
--set ZDOTDIR "$out/etc/zsh"
|
--set ZDOTDIR "$out/etc/zsh"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue