From 6bea4428fd59ecbbd98ecb565bc4107dfd87b890 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Wed, 15 Sep 2021 15:57:06 -0400 Subject: [PATCH] fix: move prompt to starship settings root --- users/profiles/starship.nix | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/users/profiles/starship.nix b/users/profiles/starship.nix index 5b8ba36..8e326bd 100644 --- a/users/profiles/starship.nix +++ b/users/profiles/starship.nix @@ -4,19 +4,18 @@ enableBashIntegration = true; settings = { - prompt = { - add_newline = true; + add_newline = true; + + format = '' + (╢$status$cmd_duration) + [┌───┨$shlvl┠──┨$shell┠────────>](bold green) $username@$hostname + [│](bold green)$directory$git_branch$git_commit$git_state$git_metrics$git_status$vcsh$hg_branch + ([|](bold green)$crystal$dart$deno$dotnet$elixir$elm$erlang$golang$helm$java$julia$kotlin$lua$nim$nodejs$ocaml$perl$php$purescript$python$red$ruby$rust$scaly$swift$terraform$vlang$vagrant$zig) + ([|](bold green)$nix_shell$conda$docker_context$package$cmake$kubernetes$env_var) + ([|](bold green)$aws$gcloud$openstack) + [└─](bold green) $character + ''; - format = '' - (╢$status$cmd_duration) - [┌───┨$shlvl┠──┨$shell┠────────>](bold green) $username@$hostname - [│](bold green)$directory$git_branch$git_commit$git_state$git_metrics$git_status$vcsh$hg_branch - ([|](bold green)$crystal$dart$deno$dotnet$elixir$elm$erlang$golang$helm$java$julia$kotlin$lua$nim$nodejs$ocaml$perl$php$purescript$python$red$ruby$rust$scaly$swift$terraform$vlang$vagrant$zig) - ([|](bold green)$nix_shell$conda$docker_context$package$cmake$kubernetes$env_var) - ([|](bold green)$aws$gcloud$openstack) - [└─](bold green) $character - ''; - }; character = { success_symbol = "[❯](bold purple)"; vicmd_symbol = "[❮](bold purple)";