From 431bf68e729ee32a043550fe937ba31bbf1a1354 Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Sun, 3 Jan 2021 23:52:02 +0100 Subject: [PATCH] Fix missing gome expand in remove-directory command --- data/core/commands/core.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/core/commands/core.lua b/data/core/commands/core.lua index 3020356..e7bc319 100644 --- a/data/core/commands/core.lua +++ b/data/core/commands/core.lua @@ -178,7 +178,7 @@ command.add(nil, { dir_list[n - i + 1] = core.project_directories[i].name end core.command_view:enter("Remove Directory", function(text, item) - text = item and item.text or text + text = common.home_expand(item and item.text or text) if not core.remove_project_directory(text) then core.error("No directory %q to be removed", text) end