1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01: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;