From 0ece8ef1d106e56ed41ddfe34576f3641f4b1cea Mon Sep 17 00:00:00 2001 From: Felix Tenley Date: Tue, 20 Oct 2020 15:49:33 +0200 Subject: [PATCH] feat(shell): extend starship config --- home/shell/default.nix | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/home/shell/default.nix b/home/shell/default.nix index 182dc44..3d0e90d 100644 --- a/home/shell/default.nix +++ b/home/shell/default.nix @@ -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; ''