feat(starship): add git user
Show git username in repositories in starship shell
This commit is contained in:
parent
a9515d0ef9
commit
99a4e18666
1 changed files with 8 additions and 0 deletions
|
@ -40,6 +40,7 @@ symbol = " "
|
|||
|
||||
[cmd_duration]
|
||||
style = "bold purple"
|
||||
format = "took [ $duration]($style) "
|
||||
|
||||
[dart]
|
||||
symbol = " "
|
||||
|
@ -107,3 +108,10 @@ symbol = " "
|
|||
|
||||
[spack]
|
||||
symbol = "🅢 "
|
||||
|
||||
[custom.git_user]
|
||||
command = "git config user.name"
|
||||
when = "git rev-parse --git-dir 2> /dev/null"
|
||||
format = "by [$symbol$output]($style) "
|
||||
style = "bright-yellow bold"
|
||||
symbol = " "
|
||||
|
|
Loading…
Reference in a new issue