Add kubernetes to starship.toml

This commit is contained in:
Dave Gallant
2022-08-10 09:59:06 -04:00
parent 27465c0463
commit d169075c93
3 changed files with 21 additions and 13 deletions

View File

@@ -91,6 +91,14 @@ in {
add_newline = false;
scan_timeout = 10;
character = {error_symbol = "[](bold red)";};
kubernetes = {
disabled = false;
context_aliases = {
".*stg_.*" = "stg";
".*test_.*" = "test";
".*prd_.*" = "prd";
};
};
};
};

View File

@@ -1,5 +1,5 @@
(import
(
(
let
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
in
@@ -7,8 +7,8 @@
url = "https://github.com/edolstra/flake-compat/archive/${lock.nodes.flake-compat.locked.rev}.tar.gz";
sha256 = lock.nodes.flake-compat.locked.narHash;
}
)
{
)
{
src = ./.;
})
})
.defaultNix