Up\date starship

This commit is contained in:
iFargle 2024-02-15 22:00:13 +09:00
parent 05923bfa42
commit 37ba2ced3b
2 changed files with 6 additions and 2 deletions

View file

@ -45,7 +45,7 @@
# SSH_ASKPASS = ""; # SSH_ASKPASS = "";
}; };
bashrcExtra = '' bashrcExtra = ''
docker-restart() { restart-docker() {
pushd /Storage/Data/docker-compose/sysctl.io pushd /Storage/Data/docker-compose/sysctl.io
docker stop $1 docker stop $1
docker rm $1 docker rm $1

View file

@ -8,7 +8,10 @@ let
redColor = "#${config.lib.stylix.colors.base0E}"; redColor = "#${config.lib.stylix.colors.base0E}";
in in
{ {
programs.starship.settings = { programs.starship = {
enable = true;
enableBashIntegration = true;
settings = {
format = lib.concatStrings [ format = lib.concatStrings [
"[](${whiteColor})" "[](${whiteColor})"
"$time" "$time"
@ -95,4 +98,5 @@ in
format = "[ $time]($style)"; format = "[ $time]($style)";
}; };
}; };
};
} }