Sometimes I see that the current working directory in shell prompt is abbreviated and sometimes not.
/usr/bin will be displayed as
/folder1/folder2 displayed as
folder2$, in other cases I have seen
/folder1/folder2 displayed as full
I am using default terminal settings (I am using Fedora 22 virtual machine for learning, but I also notice this fact in several other tutorial videos using different distro)
Is there any rule?