Add inline printers for ls, dirs and gs