diff --git a/src/wildcard.cpp b/src/wildcard.cpp index 3e490f669..f2537ade6 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -631,13 +631,13 @@ void wildcard_expander_t::expand_trailing_slash(const wcstring &base_dir, const } if (!(flags & EXPAND_FOR_COMPLETIONS)) { - // Trailing slash and not accepting incomplete, e.g. `echo /tmp/`. Insert this file if it + // Trailing slash and not accepting incomplete, e.g. `echo /xyz/`. Insert this file if it // exists. if (waccess(base_dir, F_OK) == 0) { this->add_expansion_result(base_dir); } } else { - // Trailing slashes and accepting incomplete, e.g. `echo /tmp/`. Everything is added. + // Trailing slashes and accepting incomplete, e.g. `echo /xyz/`. Everything is added. DIR *dir = open_dir(base_dir); if (dir) { wcstring next;