nixos/shell: use concatStrings for staship prompt format
This commit is contained in:
parent
dfbecb4e13
commit
2f88baa90f
1 changed files with 13 additions and 1 deletions
|
@ -131,7 +131,19 @@ in
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
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 = {
|
directory = {
|
||||||
truncation_length = 5;
|
truncation_length = 5;
|
||||||
truncation_symbol = "…/";
|
truncation_symbol = "…/";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue