nixos/shell: use concatStrings for staship prompt format

This commit is contained in:
Wroclaw 2025-05-18 16:23:00 +02:00
parent dfbecb4e13
commit 2f88baa90f

View file

@ -131,7 +131,19 @@ in
programs.starship = {
enable = true;
settings = {
format = "$all$line_break\${custom.ranger}$jobs$battery$time$status$os$container$shell$character";
format = lib.concatStrings [
"$all"
"$line_break"
"\${custom.ranger}"
"$jobs"
"$battery"
"$time"
"$status"
"$os"
"$container"
"$shell"
"$character"
];
directory = {
truncation_length = 5;
truncation_symbol = "/";