Add cpath() function to allow for passing subpaths to alias helpers, such as "p <project>/<subproject>", ".. <subdir>" and "~ <subdir>".