Add nix-shell to starship
This commit is contained in:
parent
dc57b47ab9
commit
1197669e1a
1 changed files with 9 additions and 1 deletions
|
@ -252,7 +252,9 @@ in
|
||||||
+ "$kotlin"
|
+ "$kotlin"
|
||||||
+ "$haskell"
|
+ "$haskell"
|
||||||
+ "$python"
|
+ "$python"
|
||||||
+ "[](fg:green bg:sapphire)"
|
+ "[](fg:green bg:black)"
|
||||||
|
+ "$nix_shell"
|
||||||
|
+ "[](fg:black bg:sapphire)"
|
||||||
+ "$conda"
|
+ "$conda"
|
||||||
+ "[](fg:sapphire bg:lavender)"
|
+ "[](fg:sapphire bg:lavender)"
|
||||||
+ "$time"
|
+ "$time"
|
||||||
|
@ -283,6 +285,7 @@ in
|
||||||
Debian = "";
|
Debian = "";
|
||||||
Redhat = "";
|
Redhat = "";
|
||||||
RedHatEnterprise = "";
|
RedHatEnterprise = "";
|
||||||
|
NixOS = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
username = {
|
username = {
|
||||||
|
@ -369,6 +372,11 @@ in
|
||||||
format = ''[$symbol$environment ]($style)'';
|
format = ''[$symbol$environment ]($style)'';
|
||||||
ignore_base = false;
|
ignore_base = false;
|
||||||
};
|
};
|
||||||
|
nix_shell = {
|
||||||
|
symbol = "";
|
||||||
|
style = "bg:black";
|
||||||
|
format = ''[[ $symbol( $name) ](fg:blue bg:black)]($style)'';
|
||||||
|
};
|
||||||
time = {
|
time = {
|
||||||
disabled = false;
|
disabled = false;
|
||||||
time_format = "%R";
|
time_format = "%R";
|
||||||
|
|
Loading…
Add table
Reference in a new issue