mirror of
https://github.com/wlcx/home.git
synced 2025-12-10 12:33:45 +00:00
starship: add direnv
This commit is contained in:
parent
31b30027ce
commit
d90384b2de
@ -76,16 +76,19 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
add_newline = false;
|
add_newline = false;
|
||||||
format = "$username$hostname$shlvl$directory$git_branch$git_commit$git_state$git_metrics$git_status$hg_branch$docker_context$golang$kotlin$nodejs$python$rust$terraform$nix_shell$memory_usage$aws$gcloud$openstack$azure$env_var$crystal$custom$sudo$cmd_duration$line_break$jobs$status$shell$character";
|
direnv.disabled = false;
|
||||||
|
format = "$all";
|
||||||
username.format = "[$user]($style) ";
|
username.format = "[$user]($style) ";
|
||||||
hostname.format = "[$hostname]($style) ";
|
hostname.format = "[$hostname]($style) ";
|
||||||
directory = {
|
directory = {
|
||||||
truncation_length = -1;
|
truncation_length = -1;
|
||||||
};
|
};
|
||||||
git_branch.format = "[$symbol$branch]($style) ";
|
git_branch.format = "[$symbol$branch]($style) ";
|
||||||
python.format = "[py \${pyenv_prefix}(\${version} )(\\($virtualenv\\) )]($style)";
|
python.symbol = "py ";
|
||||||
nodejs.format = "[js ($version )]($style)";
|
nodejs.symbol = "js ";
|
||||||
nix_shell.format = "[nix $state( \\($name\\))]($style) ";
|
nix_shell.symbol = "nix ";
|
||||||
|
rust.symbol = "rs ";
|
||||||
|
direnv.symbol = "de ";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user