home-manager: common: set spaceship prompt order to only include used things

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-01-23 12:41:00 +01:00
parent 5c2f99937b
commit 15a672d6ee
Signed by: c8h4
GPG key ID: 1538094429952F86

View file

@ -108,6 +108,32 @@ in {
SPACESHIP_TIME_SHOW = true;
SPACESHIP_HOST_SHOW_FULL = true;
SPACESHIP_USER_SHOW = "needed";
SPACESHIP_PROMPT_ORDER = [
"time"
"user"
"dir"
"host"
"git"
"package"
"node"
"python"
"perl"
"rust"
"haskell"
"lua"
"kubectl"
"ansible"
"terraform"
"nix_shell"
"exec_time"
"async"
"line_sep"
"battery"
"jobs"
"exit_code"
"sudo"
"char"
];
};
shellAliases = {
n = "nvim";