mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
starship: update prompt_order to format in example
This commit is contained in:
parent
8b3fca4ec5
commit
76de0632ac
3 changed files with 13 additions and 3 deletions
|
@ -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 = "➜";
|
||||||
}
|
}
|
||||||
|
|
|
@ -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]
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue