How to shorten your terminal path in Linux Ubuntu 20.04 LTS
by Eric Thomas D. Cabigting

- open your .bashrc
- look for PROMPT_DIRTRIM
- if its not present insert it anywhere
- set the value to PROMPT_DIRTRIM=1
- restart your terminal
- profit $$$
Disclaimer: All content reflects my personal views only and does not represent the positions, strategies, or opinions of any entity I am or have been associated with.