tweak(starship): start updating prompt
This commit is contained in:
parent
42f4d7f958
commit
1dc351d838
1 changed files with 20 additions and 20 deletions
|
@ -14,10 +14,10 @@
|
||||||
add_newline = true;
|
add_newline = true;
|
||||||
|
|
||||||
format = ''
|
format = ''
|
||||||
([╳](bold grey) $status$cmd_duration)
|
($status$cmd_duration)
|
||||||
[┌┨[$username@$hostname](${section.user_host})┠(┨$shell$shlvl┠)──(┨$nix_shell┠)───────────┨](${line_style})
|
[┃[$username@$hostname](${section.user_host})┃($shlvl┃)($nix_shell┃)](${line_style})
|
||||||
[┝┫$directory(┣━┫$git_branch$git_status(@$git_commit)( $git_metrics)( $git_state))┃](${line_style})
|
[┃$directory(┃$git_branch$git_status(@$git_commit)( $git_metrics)( $git_state))](${line_style})
|
||||||
[└┨](${line_style})$character'';
|
[┃($shell)┃](${line_style})$character'';
|
||||||
|
|
||||||
character = rec {
|
character = rec {
|
||||||
success_symbol = "[❯](bold purple)";
|
success_symbol = "[❯](bold purple)";
|
||||||
|
@ -59,24 +59,24 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
git_status = {
|
git_status = {
|
||||||
format = "([「$all_status$ahead_behind」]($style))";
|
format = " $ahead_behind$all_status";
|
||||||
conflicted = "⚠️";
|
conflicted = "⚠️";
|
||||||
ahead = "⟫\${count} ";
|
ahead = "[⟫\${count}](green bold) ";
|
||||||
behind = "⟪\${count}";
|
behind = "[⟪\${count}](red bold)";
|
||||||
diverged = "🔀 ";
|
diverged = "[🔀](red bold) ";
|
||||||
untracked = "📁 ";
|
untracked = "[📁](grey bold) ";
|
||||||
stashed = "↪ ";
|
stashed = "[↪](grey bold) ";
|
||||||
modified = "𝚫 ";
|
modified = "[𝚫](yellow bold) ";
|
||||||
staged = "✔ ";
|
staged = "[✔](green bold) ";
|
||||||
renamed = "⇆ ";
|
renamed = "[⇆](blue bold) ";
|
||||||
deleted = "✘ ";
|
deleted = "[✘](red bold) ";
|
||||||
style = "bold bright-white";
|
style = "bold";
|
||||||
};
|
};
|
||||||
|
|
||||||
nix_shell = {
|
nix_shell = {
|
||||||
format = "[$symbol$state $name]($style)";
|
format = "[$symbol$state $name]($style bold)";
|
||||||
pure_msg = "λ";
|
pure_msg = "✔";
|
||||||
impure_msg = "⎔";
|
impure_msg = "𝚫";
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -93,7 +93,7 @@
|
||||||
|
|
||||||
shlvl = {
|
shlvl = {
|
||||||
disabled = false;
|
disabled = false;
|
||||||
format = " [$symbol$shlvl]($style)";
|
format = " [$symbol$shlvl]($style bold)";
|
||||||
symbol = " ";
|
symbol = " ";
|
||||||
threshold = 0;
|
threshold = 0;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue