1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-07-02 02:48:51 +00:00
This commit is contained in:
skywind3000
2019-01-15 17:04:15 +08:00
parent 7ffebab4fa
commit 2037c3d03a
+1 -1
View File
@@ -1116,7 +1116,7 @@ function main(argv)
path = os.path.expand('~')
else
path = z_cd(args)
if path == nil and #args == 1 then
if path == nil and Z_MATCHMODE ~= 0 then
local last = args[#args]
if os.path.isdir(last) then
path = os.path.abspath(last)