Electrux / ls_extended

ls with coloring and icons
BSD 3-Clause "New" or "Revised" License
201 stars 14 forks source link

Added support for '1'-flag to always print results in 1 column. #13

Closed maxkatzmann closed 6 years ago

maxkatzmann commented 6 years ago

I added a new option OPT_1 in cmdopts. If set, the max_items_per_line variable in ls.c will be set to 1. As a result the output will always be printed using one column.

This corresponds to the functionality of the same flag in the original ls command.

Electrux commented 6 years ago

okay this is awesome! thanks a lot :)