Refactor zsh plugins
- Remove fzf-tab. - Configure zsh-abbr with Home Manager.
This commit is contained in:
parent
fed99ed659
commit
4f3c713f73
3 changed files with 157 additions and 164 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue