diff --git a/src/wildcard.cpp b/src/wildcard.cpp index f5d101b63..5b5a76dc3 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -695,11 +695,6 @@ class wildcard_expander_t { // cd operates on logical paths. // for example, cd ../ should complete "without resolving symlinks". path = normalize_path(path); - } else { - // Other commands operate on physical paths. - if (auto tmp = wrealpath(path)) { - path = tmp.acquire(); - } } return wopendir(path); }