From f45ca800156d8c2bba0353c64ef393ea72dcac22 Mon Sep 17 00:00:00 2001 From: stubbfel Date: Wed, 17 Jan 2018 23:14:47 +0100 Subject: [PATCH] Update zsh.nix --- programs/zsh.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/programs/zsh.nix b/programs/zsh.nix index ae9ae88..8361433 100644 --- a/programs/zsh.nix +++ b/programs/zsh.nix @@ -1,10 +1,19 @@ { config, pkgs, ... }: { + environment.systemPackages = with pkgs; [ + zsh-git-prompt + ]; + + programs.zsh = { enable = true; enableAutosuggestions = true; enableCompletion = true; syntaxHighlighting.enable = true; }; + + interactiveShellInit = '' + source ${pkgs.zsh-git-prompt}/share/zsh-git-prompt/zshrc.sh + ''; }