Refactor zsh plugins

- Remove fzf-tab.
- Configure zsh-abbr with Home Manager.
This commit is contained in:
Oliver Davies 2025-01-16 17:03:56 +00:00
parent fed99ed659
commit 4f3c713f73
3 changed files with 157 additions and 164 deletions

View file

@ -6,6 +6,12 @@
enableCompletion = true;
syntaxHighlighting.enable = true;
zsh-abbr = {
enable = true;
abbreviations = import ./zsh/abbreviations.nix;
};
cdpath = [ "~/Code" ];
dotDir = ".config/zsh";
@ -55,16 +61,5 @@
setopt pushd_ignore_dups
setopt pushdminus
'';
zplug = {
enable = true;
plugins = [
{ name = "Aloxaf/fzf-tab"; }
{ name = "olets/zsh-abbr"; }
];
};
};
home.file.".config/zsh-abbr/user-abbreviations".text = builtins.readFile ./zsh/abbreviations.zsh;
}