1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-26 16:38:34 +02:00

starship: update prompt_order to format in example

This commit is contained in:
Austin Butler 2020-12-21 12:54:59 -08:00 committed by Robert Helgesson
parent 8b3fca4ec5
commit 76de0632ac
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
3 changed files with 13 additions and 3 deletions

View File

@ -43,7 +43,12 @@ in {
example = literalExample ''
{
add_newline = false;
prompt_order = [ "line_break" "package" "line_break" "character" ];
format = lib.concatStrings [
"$line_break"
"$package"
"$line_break"
"$character"
];
scan_timeout = 10;
character.symbol = "";
}

View File

@ -1,5 +1,5 @@
add_newline = false
prompt_order = ["line_break", "package", "line_break", "character"]
format = "$line_break$package$line_break$character"
scan_timeout = 10
[aws]

View File

@ -10,7 +10,12 @@ with lib;
settings = mkMerge [
{
add_newline = false;
prompt_order = [ "line_break" "package" "line_break" "character" ];
format = concatStrings [
"$line_break"
"$package"
"$line_break"
"$character"
];
scan_timeout = 10;
character.symbol = "";
package.disabled = true;