0

I was just watching a video and came across the below prompt enter image description here

Seems like lightening image is at the first and some big arrow like structure to display the directory path. Do you know how to do this in putty please? Thanks.

marked as duplicate by Kusalananda linux Jun 13 '18 at 14:13

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2

This is implemented using some standard Unicode characters and some special Unicode characters used for Powerline. This particular version looks like the Agnoster zsh theme. The characters involved are \u2699, ±, , ➦, ✘, ⚡, ⚙.

You can adapt this to other shells and other terminals (such as PuTTY) by, on the one hand, changing your prompt setting (PS1), and on the other, configuring your terminal to use a font with the appropriate characters. I’m not sure ksh supports the features required to get all the VCS features (branch indicators etc.), but you should at least be able to replicate the arrow.

See Why are these fancy characters not shown in my prompt?, How to configure PuTTY to display these characters?, and How to get the arrow style bash prompt after installing powerline? for more information.

Not the answer you're looking for? Browse other questions tagged or ask your own question.