-- /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 }