tide/functions/lean_right_prompt.fish

14 lines
321 B
Fish
Raw Normal View History

2020-04-21 21:52:24 +03:00
function lean_right_prompt
echo -n " "
2020-04-25 22:21:09 +03:00
2020-04-28 01:37:08 +03:00
for item in lean_{$lean_right_prompt_items}
if test -n "$$item"
set -l colorName "$item"_color
2020-04-25 22:21:09 +03:00
set_color "$$colorName"
2020-04-28 01:37:08 +03:00
echo -n "$$item"
2020-04-25 22:21:09 +03:00
echo -n " "
set_color normal
end
2020-04-25 07:32:21 +03:00
end
2020-04-21 21:52:24 +03:00
end