mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
include nix-shell symbol on right of prompt
This commit is contained in:
parent
14c1abf761
commit
54d0a73d08
@ -12,6 +12,7 @@
|
||||
"$cmd_duration"
|
||||
"$character"
|
||||
];
|
||||
right_format = "$nix_shell";
|
||||
character = {
|
||||
success_symbol = "[❯](bold green)";
|
||||
error_symbol = "[❯](bold red)";
|
||||
@ -46,7 +47,10 @@
|
||||
deleted = "✘";
|
||||
style = "red";
|
||||
};
|
||||
nix_shell = { format = "[$symbol]($style)"; };
|
||||
nix_shell = {
|
||||
format = "[$symbol]($style)";
|
||||
symbol = "❄️";
|
||||
};
|
||||
python = { format = "[\${version}\\(\${virtualenv}\\)]($style)"; };
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user