mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 23:55:37 +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"
|
"$cmd_duration"
|
||||||
"$character"
|
"$character"
|
||||||
];
|
];
|
||||||
|
right_format = "$nix_shell";
|
||||||
character = {
|
character = {
|
||||||
success_symbol = "[❯](bold green)";
|
success_symbol = "[❯](bold green)";
|
||||||
error_symbol = "[❯](bold red)";
|
error_symbol = "[❯](bold red)";
|
||||||
@ -46,7 +47,10 @@
|
|||||||
deleted = "✘";
|
deleted = "✘";
|
||||||
style = "red";
|
style = "red";
|
||||||
};
|
};
|
||||||
nix_shell = { format = "[$symbol]($style)"; };
|
nix_shell = {
|
||||||
|
format = "[$symbol]($style)";
|
||||||
|
symbol = "❄️";
|
||||||
|
};
|
||||||
python = { format = "[\${version}\\(\${virtualenv}\\)]($style)"; };
|
python = { format = "[\${version}\\(\${virtualenv}\\)]($style)"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user