1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

feat(starship): more concise prompt

This commit is contained in:
Ryan Cao 2023-09-10 12:03:37 +08:00
parent 76c96dbe34
commit 48bd87f26f
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
3 changed files with 17 additions and 3 deletions

View file

@ -9,6 +9,18 @@ _: {
error_symbol = "[](bold red)";
};
bun.format = "[$symbol($version )]($style)";
cmd_duration.format = "[$duration]($style) ";
deno.format = "[$symbol($version )]($style)";
docker_context.format = "$symbol$context]($style) ";
git_branch.format = "[$symbol$branch(:$remote_branch)]($style) ";
golang.format = "[$symbol($version )]($style)";
nix_shell.format = "[$symbol$state( \($name\))]($style) ";
nodejs.format = "[$symbol($version )]($style)";
package.format = "[$symbol$version]($style) ";
python.format = "[\${symbol}\${pyenv_prefix}(\${version} )(\($virtualenv\) )]($style)";
rust.format = "[$symbol($version )]($style)";
aws.symbol = " ";
buf.symbol = " ";
c.symbol = " ";