bettola/assets/scripts/bin/cd.lua

8 lines
170 B
Lua

-- /bin/cd - Change Directory.
local target = arg[1]
if not target then
return "" -- No argument, just return to prompt.
end
return { action = "cd", target = target }