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:
2
z.lua
2
z.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user