1
0
mirror of https://github.com/skywind3000/z.lua synced 2026-03-14 19:59:48 +00:00

polish: 1.8.3

This commit is contained in:
skywind3000
2020-02-10 00:14:09 +08:00
parent cada42e5ea
commit 0effba4021

2
z.lua
View File

@@ -1777,7 +1777,6 @@ function cd_breadcrumbs(pwd, interactive)
local elements = {}
local interactive = interactive and interactive or 1
local fullname = os.environ('_ZL_FULL_PATH', false)
-- fullname = true
while true do
local head, name = os.path.split(path)
if head == path then -- reached root
@@ -1790,7 +1789,6 @@ function cd_breadcrumbs(pwd, interactive)
end
path = head
end
-- printT(elements)
local tmpname = '/tmp/zlua.txt'
local fp = io.stderr
if interactive == 2 then