aboutsummaryrefslogtreecommitdiffhomepage
path: root/path.h
diff options
context:
space:
mode:
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 9bac301b..ff0150d3 100644
--- a/path.h
+++ b/path.h
@@ -30,6 +30,7 @@ bool path_get_config(wcstring &path);
\return 0 if the command can not be found, the path of the command otherwise. The result should be freed with free().
*/
wchar_t *path_get_path( const wchar_t *cmd );
+bool path_get_path( const wcstring &cmd, wcstring &output );
/** Returns whether the path can be used for an implicit cd command; if so, also returns the path by reference (if desired). This requires it to start with one of the allowed prefixes (., .., ~) and resolve to a directory. */
bool path_can_be_implicit_cd(const wcstring &path, wcstring *out_path = NULL, const wchar_t *wd = NULL);