diff --git a/data/core/commands/core.lua b/data/core/commands/core.lua index 2280f620..62be4bc6 100644 --- a/data/core/commands/core.lua +++ b/data/core/commands/core.lua @@ -9,7 +9,7 @@ local fullscreen = false local function suggest_directory(text) text = common.home_expand(text) - return common.home_encode_list(text == "" or text == common.home_expand(common.dirname(core.project_dir)) + return common.home_encode_list((text == "" or text == common.home_expand(common.dirname(core.project_dir))) and core.recent_projects or common.dir_path_suggest(text)) end