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 '' example = literalExample ''
{ {
add_newline = false; add_newline = false;
prompt_order = [ "line_break" "package" "line_break" "character" ]; format = lib.concatStrings [
"$line_break"
"$package"
"$line_break"
"$character"
];
scan_timeout = 10; scan_timeout = 10;
character.symbol = ""; character.symbol = "";
} }

View file

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

View file

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