zsh: add support for prezto configuration framework (#655)

This commit is contained in:
Nick Hu 2020-10-12 01:27:44 +01:00 committed by GitHub
parent 7339784e07
commit 18a05a9604
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 573 additions and 2 deletions

View file

@ -4,4 +4,5 @@
zsh-history-path-new-custom = ./history-path-new-custom.nix;
zsh-history-path-old-default = ./history-path-old-default.nix;
zsh-history-path-old-custom = ./history-path-old-custom.nix;
zsh-prezto = ./prezto.nix;
}

View file

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
with lib;
{
config = {
programs.zsh.prezto.enable = true;
nmt.script = ''
assertFileExists home-files/.zpreztorc
'';
};
}