diff --git a/src/Configuration.lua b/src/Configuration.lua index 045b77ef0..391e56868 100644 --- a/src/Configuration.lua +++ b/src/Configuration.lua @@ -181,7 +181,7 @@ local function l_new(self) lmodrc = "" end - if (not rc:find(":") and not isFile(rc)) then + if (not rc:find(":") and (not (isFile(rc) or isDir(rc)))) then rc = rc .. " -> " end if (not readable) then