Fix to prevent autosuggesting cd'ing to the current working directory

This commit is contained in:
ridiculousfish
2012-02-18 21:56:30 -08:00
parent 14b3a5be56
commit ca1c8243c8
4 changed files with 28 additions and 2 deletions

3
path.h
View File

@@ -65,6 +65,9 @@ void path_make_canonical( wcstring &path );
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);
wcstring get_working_directory(void);
#endif