This is a simple implementation of the ever popular ls command from Unix systems.
ls command lists down the contents of the current working directory by default.
While working on Unix, this might probably be the most used command and if you switch to Windows every now and then like me there would have been countless number of times when instead of writing dir in the prompt (I don't like Powershell either), you end up writing ls (like me!).
Why not remove the hassle?!
- Install Go
- Clone the repository and enter the folder:
git clone https://github.com/Tak1za/go-ls.git && cd go-ls
- Make sure GOPATH is set. Check by running:
go env
. - Add GOPATH to Windows Environment Variables.
- Install the binary:
go build -o %GOPATH%/bin/ls
- If all goes well, run
ls
in any directory.