mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
23 lines
604 B
Nix
23 lines
604 B
Nix
let
|
|
relToDotDirCustom = ".zshplugins";
|
|
in
|
|
{
|
|
programs.zsh = {
|
|
enable = true;
|
|
dotDir = relToDotDirCustom;
|
|
antidote = {
|
|
enable = true;
|
|
useFriendlyNames = true;
|
|
plugins = [ "zsh-users/zsh-autosuggestions" ];
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContains home-files/${relToDotDirCustom}/.zshrc \
|
|
'source @antidote@/share/antidote/antidote.zsh'
|
|
assertFileContains home-files/${relToDotDirCustom}/.zshrc \
|
|
'antidote load'
|
|
assertFileContains home-files/${relToDotDirCustom}/.zshrc \
|
|
"zstyle ':antidote:bundle' use-friendly-names 'yes'"
|
|
'';
|
|
}
|