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, ... }:
let
shellAliases = {
emacs = "emacsclient -c";
};
in
{
imports = [
./terminal.nix
];
let shellAliases = { emacs = "emacsclient -c"; };
in {
imports = [ ./terminal.nix ];
programs.fzf = {
enable = true;
};
programs.fzf = { enable = true; };
programs.starship = {
enable = true;
settings = {
add_newline = false;
status.symbol = " ";
status.disabled = false;
aws.disabled = true;
gcloud.disabled = true;
};
};
@ -41,7 +36,8 @@ in
{
name = "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; ''