From 289424255e8eb124db832b0322c78ee9bd0a4393 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Mon, 20 Sep 2021 00:16:24 -0400 Subject: [PATCH] feat: add nix_shell to starship prompt --- users/profiles/starship.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/users/profiles/starship.nix b/users/profiles/starship.nix index 3b2c40e..ce5d1a0 100644 --- a/users/profiles/starship.nix +++ b/users/profiles/starship.nix @@ -14,7 +14,7 @@ ([╳](bold grey) $status$cmd_duration) [┌───(┨$shlvl┠)──(┨$shell┠)────────┨$username@$hostname┃](${line_style}) [┝┫$directory(┣━┫$git_branch$git_status(@$git_commit)( $git_metrics)( $git_state))┃](${line_style}) - [└─┨](${line_style})$character + [└─(┨$nix_shell┠)┨](${line_style})$character ''; # format = '' # (╢$status $cmd_duration\n)[┌───┨$shlvl┠──┨$shell┠────────>](bold green) $username@$hostname @@ -80,7 +80,7 @@ }; nix_shell = { - format = "[$symbol$state]($style)"; + format = "[$symbol$state $name]($style)"; pure_msg = "λ"; impure_msg = "⎔"; symbol = " ";