oh-my-bash icon indicating copy to clipboard operation
oh-my-bash copied to clipboard

Show full path in prompt.

Open team-aniar opened this issue 4 years ago • 5 comments

Hi. I just started using oh-my-bash. I have been using oh-my-posh in my powershell terminal, but now it is time to sexy up the WSL2 Ubuntu terminal too. :) But I have one question: How can I show the whole path in the promtp? And not only the 3 last folders? Sorry if this is obvious and explained 100 times, but I could not find any hints on how to do this. :)

team-aniar avatar Sep 22 '21 13:09 team-aniar

Add unset PROMPT_DIRTRIM in your ~/.bashrc after source $OSH/oh-my-bash.sh

machsix avatar Nov 15 '21 17:11 machsix

Thanx. Works like a charm. :)

team-aniar avatar Nov 29 '21 09:11 team-aniar