From 37ba2ced3bb518e8b13cae8cb3fd18f5425b1e8f Mon Sep 17 00:00:00 2001 From: iFargle Date: Thu, 15 Feb 2024 22:00:13 +0900 Subject: [PATCH] Up\date starship --- home-manager/common/software/cli/bash.nix | 2 +- home-manager/common/software/cli/starship.nix | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/home-manager/common/software/cli/bash.nix b/home-manager/common/software/cli/bash.nix index e534cb36..0066c187 100644 --- a/home-manager/common/software/cli/bash.nix +++ b/home-manager/common/software/cli/bash.nix @@ -45,7 +45,7 @@ # SSH_ASKPASS = ""; }; bashrcExtra = '' - docker-restart() { + restart-docker() { pushd /Storage/Data/docker-compose/sysctl.io docker stop $1 docker rm $1 diff --git a/home-manager/common/software/cli/starship.nix b/home-manager/common/software/cli/starship.nix index 7fca47c2..9037491f 100644 --- a/home-manager/common/software/cli/starship.nix +++ b/home-manager/common/software/cli/starship.nix @@ -8,7 +8,10 @@ let redColor = "#${config.lib.stylix.colors.base0E}"; in { - programs.starship.settings = { + programs.starship = { + enable = true; + enableBashIntegration = true; + settings = { format = lib.concatStrings [ "[](${whiteColor})" "$time" @@ -95,4 +98,5 @@ in format = "[ $time]($style)"; }; }; + }; } \ No newline at end of file