Update zsh.nix

This commit is contained in:
stubbfel
2018-01-17 23:14:47 +01:00
parent 2ed50e145c
commit f45ca80015

View File

@@ -1,10 +1,19 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
environment.systemPackages = with pkgs; [
zsh-git-prompt
];
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableAutosuggestions = true; enableAutosuggestions = true;
enableCompletion = true; enableCompletion = true;
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
}; };
interactiveShellInit = ''
source ${pkgs.zsh-git-prompt}/share/zsh-git-prompt/zshrc.sh
'';
} }