feat: add nix_shell to starship prompt
This commit is contained in:
parent
658ef9afdb
commit
289424255e
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@
|
||||||
([╳](bold grey) $status$cmd_duration)
|
([╳](bold grey) $status$cmd_duration)
|
||||||
[┌───(┨$shlvl┠)──(┨$shell┠)────────┨$username@$hostname┃](${line_style})
|
[┌───(┨$shlvl┠)──(┨$shell┠)────────┨$username@$hostname┃](${line_style})
|
||||||
[┝┫$directory(┣━┫$git_branch$git_status(@$git_commit)( $git_metrics)( $git_state))┃](${line_style})
|
[┝┫$directory(┣━┫$git_branch$git_status(@$git_commit)( $git_metrics)( $git_state))┃](${line_style})
|
||||||
[└─┨](${line_style})$character
|
[└─(┨$nix_shell┠)┨](${line_style})$character
|
||||||
'';
|
'';
|
||||||
# format = ''
|
# format = ''
|
||||||
# (╢$status $cmd_duration\n)[┌───┨$shlvl┠──┨$shell┠────────>](bold green) $username@$hostname
|
# (╢$status $cmd_duration\n)[┌───┨$shlvl┠──┨$shell┠────────>](bold green) $username@$hostname
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
nix_shell = {
|
nix_shell = {
|
||||||
format = "[$symbol$state]($style)";
|
format = "[$symbol$state $name]($style)";
|
||||||
pure_msg = "λ";
|
pure_msg = "λ";
|
||||||
impure_msg = "⎔";
|
impure_msg = "⎔";
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue