tide/functions/lean_right_prompt.fish

14 lines
331 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
for module in lean_{$lean_right_prompt_modules}
if test -n "$$module"
set -l colorName "$module"_color
set_color "$$colorName"
echo -n "$$module"
echo -n " "
set_color normal
end
2020-04-25 07:32:21 +03:00
end
2020-04-21 21:52:24 +03:00
end