feat(shell): extend starship config

This commit is contained in:
Felix Schröter 2020-10-20 15:49:33 +02:00
parent d29f2d1cc8
commit 0ece8ef1d1
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58

View file

@ -1,23 +1,18 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let let shellAliases = { emacs = "emacsclient -c"; };
shellAliases = { in {
emacs = "emacsclient -c"; imports = [ ./terminal.nix ];
};
in
{
imports = [
./terminal.nix
];
programs.fzf = { programs.fzf = { enable = true; };
enable = true;
};
programs.starship = { programs.starship = {
enable = true; enable = true;
settings = { settings = {
add_newline = false; add_newline = false;
status.symbol = " ";
status.disabled = false;
aws.disabled = true; aws.disabled = true;
gcloud.disabled = true;
}; };
}; };
@ -41,7 +36,8 @@ in
{ {
name = "zsh-history-substring-search"; name = "zsh-history-substring-search";
src = zsh-history-substring-search; src = zsh-history-substring-search;
file = "share/zsh-history-substring-search/zsh-history-substring-search.zsh"; file =
"share/zsh-history-substring-search/zsh-history-substring-search.zsh";
} }
]; ];
initExtra = with pkgs; '' initExtra = with pkgs; ''