When using the terminal in a deep folder structure sometimes the prompt can take up most of the line. Is there any way in which I can trim the working directory? I know I can do
PS1="\W >"
to only print the current directory and not the full path, but is there a way to have something like:
/home/smauel/de...ther/folder >