feat(starship): add nix to prompt
This commit is contained in:
@@ -11,6 +11,7 @@ $character\
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
right_format = """\
|
right_format = """\
|
||||||
|
$nix_shell\
|
||||||
$golang\
|
$golang\
|
||||||
$lua\
|
$lua\
|
||||||
$nodejs\
|
$nodejs\
|
||||||
@@ -19,6 +20,10 @@ $rust\
|
|||||||
$cmd_duration\
|
$cmd_duration\
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
[nix_shell]
|
||||||
|
disabled = false
|
||||||
|
format = '[n(\($name\))](bold blue) '
|
||||||
|
|
||||||
[character]
|
[character]
|
||||||
success_symbol = '[>](bold green)'
|
success_symbol = '[>](bold green)'
|
||||||
error_symbol = '[>](bold red)'
|
error_symbol = '[>](bold red)'
|
||||||
|
|||||||
Reference in New Issue
Block a user