aboutsummaryrefslogtreecommitdiffhomepage
path: root/path.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-05-07 17:31:24 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-05-07 17:31:24 -0700
commit0c79bb6e7c679552faba6cb333592eb1da26db35 (patch)
tree6eb08236422a8f31862f1d898d8fddcf08eb0b3c /path.h
parent1a264ab7c20cbd0e20eef3e3d83fedb7b69c163d (diff)
Factor is_potential_path to properly handle CDPATH
This will let us color cd commands better
Diffstat (limited to 'path.h')
-rw-r--r--path.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/path.h b/path.h
index e2f47f84..bd5b4e5e 100644
--- a/path.h
+++ b/path.h
@@ -68,6 +68,7 @@ bool path_is_valid(const wcstring &path, const wcstring &working_directory);
/** Returns whether the two paths refer to the same file */
bool paths_are_same_file(const wcstring &path1, const wcstring &path2);
+/* Returns the current working directory as returned by wgetcwd */
wcstring get_working_directory(void);
#endif