challenger challenger -4 years ago 181
Linux Question

Linux terminal replace path with symbol

I work with deep files and the paths shown in terminal are too long!


user@user-pc ~/work/projects/development/react/experiments/lib/example/src/....

Is there any way to replace
with react symbol for example? Or any other symbol? Or even with a word with different color?!

Answer Source

You can use Oh My Zsh and there are a lot of themes which can fit for you. This is how it could look like

Oh My Zsh

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download