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:
parent
76c96dbe34
commit
48bd87f26f
3 changed files with 17 additions and 3 deletions
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1694256509,
|
||||
"narHash": "sha256-o7m9jxFDF87Hon0ilkvLFKl6yIzRTUyb+ClY2CWpi4I=",
|
||||
"lastModified": 1694309228,
|
||||
"narHash": "sha256-P/8U7OSVw6ChWmRDCpgfP+HqSup2xdk+2OS2S/rlrrI=",
|
||||
"owner": "ryanccn",
|
||||
"repo": "am",
|
||||
"rev": "6c19bb79636388149f66d89561b354d7e23ad2c1",
|
||||
"rev": "cbbfb1adbd7d5ecba9a172193b64c08367265de9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
|||
|
|
@ -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 = " ";
|
||||
|
|
|
|||
|
|
@ -18,10 +18,12 @@ in {
|
|||
extra-substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://crane.cachix.org"
|
||||
"https://cache.garnix.io"
|
||||
];
|
||||
extra-trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"crane.cachix.org-1:8Scfpmn9w+hGdXH/Q9tTLiYAE/2dnJYRJP7kl80GuRk="
|
||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue