Jump to content




ListHidden - lsh


  • You cannot reply to this topic
4 replies to this topic

#1 Rectar2

  • Members
  • 43 posts
  • LocationThe Universe

Posted 24 August 2014 - 06: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?

Screenshots
Spoiler


Pastebin:
pastebin get RNapT7hj lsh

Edited by Rectar2, 31 August 2014 - 04:04 AM.


#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 24 August 2014 - 06: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

#3 willwac

  • Members
  • 182 posts

Posted 24 August 2014 - 06:20 PM

Thats cool!
I just took out the if statement, but making them a different color, great idea!

#4 InputUsername

  • Members
  • 231 posts
  • LocationThe Netherlands

Posted 25 August 2014 - 02: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

#5 Rectar2

  • Members
  • 43 posts
  • LocationThe Universe

Posted 26 August 2014 - 02:03 AM

View PostInputUsername, on 25 August 2014 - 02:32 PM, said:

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





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users