99 posts
Location
The Universe
Posted 24 August 2014 - 07:22 AM
lsh
(not to be confused with nsh)
(or Lyqyd's lsh)
(or ls, which this is replacing)
LSH is a program that runs exactly like the LS program included with ComputerCraft, but also displays hidden files and directories. It is just a modification of the LS command, but with hidden files. The hidden files even have a different color!I still haven't decided on a different color for hidden directories, any suggestions?ScreenshotsSpoiler
Normal ls:lsh:(ignore the missing Projects directory… I'm bad at screenshots)
Pastebin: pastebin get RNapT7hj lsh
Edited on 31 August 2014 - 03:04 AM
8543 posts
Posted 24 August 2014 - 07:38 AM
Hah. Kind of amusing that you mention nsh, since I also have
a program that goes by the name lsh. Of course, it hasn't been published as a standalone program, but the naming coincidence is amusing. :P/>
135 posts
Posted 24 August 2014 - 07:20 PM
Thats cool!
I just took out the if statement, but making them a different color, great idea!
252 posts
Location
The Netherlands
Posted 25 August 2014 - 03:32 PM
Nice and useful little program, I might even replace the built in ls with this.
One thing I don't really understand though is why the "Projects" directory is gone in the second image :P/>
99 posts
Location
The Universe
Posted 26 August 2014 - 03:03 AM
One thing I don't really understand though is why the "Projects" directory is gone in the second image :P/>
Well, I kinda accidentally saved the same screenshot twice and then posted this. When I noticed, I had to redo the second screenshot and try to get it exactly the same. I guess I did a bad job :P/>