Adds relative path support in commands and terminals.