Extending the bash 'cd' command in Linux

from blog Kevin Boone's website, | ↗ original
↗ original
The built-in cd command in the bash shell is not as smart as it could be; but it's a little fiddly to extend its functionality.