File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 55 format = lib . strings . concatStrings [
66 "$sudo$hostname" # usually hidden
77 "$directory$custom"
8+ "$nix_shell"
9+ "$direnv"
810 "$git_branch$git_commit$git_state$git_status"
11+ "$env_var"
912 "$cmd_duration"
1013 "$line_break"
1114 "$jobs$status$shlvl$character"
2730 read_only = "✖" ;
2831 } ;
2932
33+ direnv = {
34+ disabled = true ;
35+ } ;
36+
37+ env_var = {
38+ disabled = false ;
39+ variable = "SERIAL_NUMBER" ;
40+ style = "bright-black" ;
41+ format = "[$env_value]($style)" ;
42+ } ;
43+
3044 git_branch = {
3145 format = "[$symbol$branch(:$remote_branch)]($style)" ;
3246 symbol = " " ;
7185 symbol = "" ;
7286 } ;
7387
88+ nix_shell = {
89+ disabled = false ;
90+ impure_msg = "[](blue)" ;
91+ pure_msg = "[](bold white)" ;
92+ unknown_msg = "[](bold red)" ;
93+ format = "$state " ;
94+ } ;
95+
7496 status = {
7597 disabled = false ;
7698 pipestatus = true ;
You can’t perform that action at this time.
0 commit comments