I have been using zsh 5.3 for sometime now. I finally managed to have a prompt that I like (see my own answer) -
Now I want to add battery status to my zsh prompt on the right-corner so I always know how much battery is remaining . How do I do it ?
Update - I saw Paul H.'s comment and saw the stackoverflow answers and saw https://stackoverflow.com/a/34913418 . I like that one EXCEPT that one shows the battery in left and I want it to show on the right.
Any ideas ?