mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03:00
Factor is_potential_path to properly handle CDPATH
This will let us color cd commands better
This commit is contained in:
1
path.h
1
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
|
||||
|
||||
Reference in New Issue
Block a user