https://github.com/stuartpb/les
The middleman between `ls` and `less`
https://github.com/stuartpb/les
Last synced: 2 days ago
JSON representation
The middleman between `ls` and `less`
- Host: GitHub
- URL: https://github.com/stuartpb/les
- Owner: stuartpb
- Created: 2011-01-30T02:37:47.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2018-01-10T06:37:49.000Z (over 8 years ago)
- Last Synced: 2025-02-21T20:17:18.547Z (over 1 year ago)
- Language: Shell
- Homepage: http://testtrack4.com/wiki/les
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# les
Les is a shell script that switches between `ls` and `less` depending on whether its contents are a file or a directory (or a symlink).
## Alternatives
Instead of using this, you can do better by installing a preprocessor for less that handles directories like [lesspipe][] and setting that as your `LESSOPEN`.
[lesspipe]: https://github.com/wofr06/lesspipe