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 + ''; }