Add icons to shell prompt

This commit is contained in:
Bruno Carlin 2022-02-22 10:13:15 +01:00
parent 9a283cadd9
commit 09d6eff912

View file

@ -1,6 +1,10 @@
function __bcarlin_prompt_suffix
set -l color_suffix
set -l suffix "➜"
set -l suffix "->"
if test ! -z "$fish_private_mode" -a "$fish_private_mode" -eq 1
set suffix "👻 $suffix" (set_color normal)
end
switch $USER
case root toor