diff options
Diffstat (limited to 'config/starship')
| -rw-r--r-- | config/starship/config.toml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/config/starship/config.toml b/config/starship/config.toml index 6165b64..d9cd4d2 100644 --- a/config/starship/config.toml +++ b/config/starship/config.toml @@ -5,6 +5,7 @@ add_newline = true format = """ +${custom.linux} $nix_shell\ $directory\ $git_branch\ @@ -21,6 +22,14 @@ $cmd_duration\ $line_break\ $character""" +[custom.linux] +format = '[$symbol \[$output\]]($style) ' +symbol = ' ' +command = "cat /etc/os-release | grep '^ID=' | sed 's/ID=//' | sed 's/^./\\U&/'" +os = 'linux' +style = 'bold #f5e0dc' +when = true + [nix_shell] format = '[$symbol]($style) ' symbol = ' ' @@ -84,8 +93,5 @@ success_symbol = '[](bold #a6e3a1)' error_symbol = '[](bold #f38ba8)' # TODO -# - [container] -# - [docker_context] # - [direnv] -# CONTINUE FROM HERE |
