Expand path elements in bashdb