/ Published in: Bash
This is for debian but can be adapted with little trickery to any Linux distro. This enables changing the root of a shell so that the directories displayed are not too long.
Useful for dir-verbose frameworks like symfony or when managing a huge website directory.
Usage: setroot $PWD
Useful for dir-verbose frameworks like symfony or when managing a huge website directory.
Usage: setroot $PWD