Add icons to shell prompt
This commit is contained in:
parent
9a283cadd9
commit
09d6eff912
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue