ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.59k stars 628 forks source link

Show full path in prompt. #238

Open team-aniar opened 2 years ago

team-aniar commented 2 years ago

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. :)

machsix commented 2 years ago

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

team-aniar commented 2 years ago

Thanx. Works like a charm. :)