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"
|
||||
+ "$haskell"
|
||||
+ "$python"
|
||||
+ "[](fg:green bg:sapphire)"
|
||||
+ "[](fg:green bg:black)"
|
||||
+ "$nix_shell"
|
||||
+ "[](fg:black bg:sapphire)"
|
||||
+ "$conda"
|
||||
+ "[](fg:sapphire bg:lavender)"
|
||||
+ "$time"
|
||||
|
@ -283,6 +285,7 @@ in
|
|||
Debian = "";
|
||||
Redhat = "";
|
||||
RedHatEnterprise = "";
|
||||
NixOS = "";
|
||||
};
|
||||
};
|
||||
username = {
|
||||
|
@ -369,6 +372,11 @@ in
|
|||
format = ''[$symbol$environment ]($style)'';
|
||||
ignore_base = false;
|
||||
};
|
||||
nix_shell = {
|
||||
symbol = "";
|
||||
style = "bg:black";
|
||||
format = ''[[ $symbol( $name) ](fg:blue bg:black)]($style)'';
|
||||
};
|
||||
time = {
|
||||
disabled = false;
|
||||
time_format = "%R";
|
||||
|
|
Loading…
Add table
Reference in a new issue