From e89ba794d0314e3f3c7cbd7e6e1d127689fbabc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Harald=20J=C3=B8rgensen?= <58829763+adamjoer@users.noreply.github.com> Date: Mon, 13 Nov 2023 01:05:38 +0100 Subject: [PATCH] Shell: Include parent and base directories in expanded globs --- Userland/Shell/Shell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Shell/Shell.cpp b/Userland/Shell/Shell.cpp index d68daf15eb..f79c578155 100644 --- a/Userland/Shell/Shell.cpp +++ b/Userland/Shell/Shell.cpp @@ -309,7 +309,7 @@ Vector Shell::expand_globs(Vector path_segments, S if (is_glob_directory) first_segment = first_segment.substring_view(0, first_segment.length() - 1); - Core::DirIterator di(base, Core::DirIterator::SkipParentAndBaseDir); + Core::DirIterator di(base); if (di.has_error()) return {};