• Stars
    star
    496
  • Rank 85,567 (Top 2 %)
  • Language
    Perl
  • Created over 13 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ls on steroids

Donate - Every tiny cent helps a lot!

ls++ - colorized ls on steroids

GNU/Linux screenshot

USAGE

ls++ [OPTION]... [FILE]...

OPTIONS

Not known parameters will be passed through to ls, so to show hidden files, -a or -A might be added. See ls(1) for more information.

Views

--pf    permissions, file
--psf   permissions, size, file
--tpf   time, permissions, file
--tpsf  time, permissions, size, file (default)
--ptsf  permissions, time, size, file
--potsf permissions, owners, time, size, file

INSTALLATION

Packages exist for several linux distributions:

Archlinux

pacman -S ls++

SUSE

yast -i ls++

Other / Bleeding edge

I recommend using the cpanminus cpan client and doing a

alias cpan=cpanm

in your shellrc. The program will be there in your normal repositories. :)

# cpanm Term::ExtendedColor File::LsColor
$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make && su -c 'make install'

$ cp ls++.conf $HOME/.ls++.conf

Install from git locally in your $HOME:

$ mkdir -p $HOME/lib/perl5
$ export PERL5LIB=${HOME}/lib/perl5
$ export PERL_MM_OPT="INSTALL_BASE=${PERL5LIB}"
$ cpanm Term::ExtendedColor File::LsColor

$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make
$ make install

$ cp ls++.conf $HOME/ls++.conf

Install from CPAN locally; managing dependencies automatically:

$ mkdir -p $HOME/lib/perl5
$ export PERL5LIB=${HOME}/lib/perl5
$ export PERL_MM_OPT="INSTALL_BASE=${PERL5LIB}"
$ cpan App::lsplusplus

If you want to install it globaly, you just skip the first three steps and run the cpan command as root.

Mac OS X Installation

# cpan Term::ExtendedColor File::LsColor
$ git clone git://github.com/trapd00r/ls--.git
$ cd ls--
$ perl Makefile.PL
$ make && sudo 'make install'

$ cp ls++.conf $HOME/.ls++.conf

HISTORY

I wanted to re-arrange the ls output just like one can do with the -printf option to GNU find. Sadly, there are no -printf option available for ls, so I threw together a quick hack called 'pilsner' that did what I wanted and nothing more, nothing less. Not very useful to others.

Mattias Svanstrรถm crafted together the 'l' application which did basically the same thing but more elegant and with a nice twist; it calculated relative mtimes.

I really liked that idea, but there were a couple of annoyances, so I forked the project and added a configuration file, support for flags that'll control the different views and possibility to ignore as well as highlight specific files.

AUTHOR

\ \ | / /
 \ \ - /
  \ | /
  (O O)
  ( < )
  (-=-)

Magnus Woldrich
CPAN ID: WOLDRICH
[email protected]
http://japh.se

CONTRIBUTORS

Mattias Svanstrรถm

Gregory Sacre

Shelby Munsch - extensive macos work

COPYRIGHT

Copyright 2010, 2011, 2018 the ls++ AUTHOR and CONTRIBUTORS as listed above.

SEE ALSO

l

pilsner

More Repositories

1

LS_COLORS

A collection of LS_COLORS definitions; needs your contribution!
Shell
1,987
star
2

vidir

edit directory in $EDITOR (better than vim . with netrw)
Perl
173
star
3

zsh-syntax-highlighting-filetypes

zsh syntax highlighting with dircolors in realtime
Shell
147
star
4

configs

My ~/etc - configs, dotfiles
Vim Script
115
star
5

utils

Small useful utilities for everyday work
Perl
74
star
6

neverland-vim-theme

256 colors CLI and GUI. It doesn't suck.
Vim Script
66
star
7

win95-winxp_icons

default icons from win{95,98,2000,xp}
48
star
8

colorcoke

Change the extended (non-ANSI) color set. Generate tints and shades that can be applied in any range.
Shell
45
star
9

vimpoint

Damian Conway's presentation system, written in viml
39
star
10

vim-syntax-vidir-ls

dircolors in your vidir session
Vim Script
36
star
11

File-LsColor

Colorize input filenames just like ls(1) does
Perl
34
star
12

pimpd2

Perl Interface for the Music Player Daemon 2 | http://search.cpan.org/dist/App-Pimpd/
Perl
34
star
13

screenfo

Screenshot info tool
Perl
31
star
14

clipbored

Daemon that continuously collects all selections in Xorg's clipboard buffers and saves them in a plaintext file for later retrieval. Can be used with dmenu.
Perl
30
star
15

rmshit

Keep $HOME or other dir clean from unwanted tempfiles, configs and other crap you'll never use that's autocreated upon execution of bad behaving applications
Perl
26
star
16

ttycolor

Quickly switch colorscheme in the Linux Console / TTY
Perl
24
star
17

xkcd

View XKCD comics in your console
Perl
20
star
18

Term-ExtendedColor

Color screen output using extended escape sequences
Perl
17
star
19

Documentation

Docs and notes for Vim, Zsh, Git, Terminal emulators, Perl ... that I've either written or collected over time
Vim Script
17
star
20

pickyfont

Change your console/terminal font on the fly
Perl
17
star
21

vimcat

cat files in style with vim
Shell
14
star
22

hr

<hr> for your terminal; define a thematic change in content
Perl
13
star
23

id3shit

Less sucky commandline-based ID3-editor.
Perl
12
star
24

pnfo

Vim NFO Viewer
Perl
12
star
25

rmcd

Run mplayer as a daemon and control it remotely
Perl
10
star
26

irc.vim

syntax file for irc logs
Vim Script
7
star
27

Term-ExtendedColor-Xresources

Query and set various X resources
Perl
7
star
28

vim-after-syntax-vim

after/syntax/vim.vim
Vim Script
6
star
29

time-spent-in-vim

Vim wrapper collecting statistics of the usage; time spent per project/file
Perl
6
star
30

vim-extendedcolors

Highlight extended color name strings with their color (vim)
Vim Script
6
star
31

rxvt-unicode

urxvt fork with support for defining colors > 16 using X resources
C
5
star
32

vim-highlight-default-highlight-groups

Highlight all the default highlighting groups in Vim by matching the group's literal name and placing it in its group (colorscheme preview)
Vim Script
5
star
33

colortest-256-ng

prints table of available colors or colorize arbitary input for terminals supporting 256 colors
Perl
5
star
34

dzen-scripts

Various scripts for dzen2
Perl
4
star
35

re.pl

Read, Eval, Print, Loop with tabcompletion
Perl
4
star
36

n900

scripts controlling the n900
Shell
4
star
37

x11colors.vim

Highlight X11 color name strings with appropriate colors (vim, gvim)
Vim Script
4
star
38

vim-after-syntax-perl

after/syntax/perl.vim
Vim Script
4
star
39

rgbterm

Show RGB values of defined terminal colors
Perl
4
star
40

fileutils-color

basic file management utils with color
Perl
4
star
41

RPD

Radio Playing Daemon - Daemon that plays radio streams, using Mplayer as the backend.
Perl
4
star
42

vim-xclipboard

Yank text from Vim to the X clipboard transparently
Perl
4
star
43

uberpaint

fork of uberpaint, a Deluxe Paint clone, patched for building on linux
C
3
star
44

pimpd

Perl Interface for the Music Player Daemon
Perl
3
star
45

currentline.vim

A Vim plugin that highlights the current line; like a marker pen
Vim Script
3
star
46

cgrep

grep with colors without the grep
Perl
3
star
47

sdorfehs-config

configuration and scripts for the sdorfehs window manager
Perl
3
star
48

accesstail

like tail -f, but prettier, for your access.log
Perl
3
star
49

sexpac

Makes the Archlinux package manager 'pacman' sexy. Well, at least her output.
Perl
3
star
50

vim-syntax-todo

Simple syntax file for TODO lists
Vim Script
3
star
51

vim

wim
C
2
star
52

ratpoison_hacks

hacks and utilities relevant for (c|r)atpoison
Perl
2
star
53

trapd00r.se

My personal site
Python
2
star
54

firefox-remote

Control Mozilla Firefox remotely
Perl
2
star
55

programmers_qwerty

Make characters often used in programming, Vim and the shell more accessible
Perl
2
star
56

themes

Random themes for applications / pages
CSS
2
star
57

matrix

C
2
star
58

beet2mpd

beets advanced queries -> mpd
Perl
2
star
59

apt-cache-search-color

ยท
Perl
2
star
60

makedist

make perl distribution making automatic
Perl
2
star
61

vim-syntax-ratpoison

An updated version of ratpoison.vim
Vim Script
2
star
62

pentadactyl-neverland

Neverland colorscheme for Pentadactyl
2
star
63

pamixer

curses interface for pulseaudio, personal fork
Python
2
star
64

Term-ExtendedColor-TTY

Functions for changing and querying the TTY for various resources, such as colors
Perl
2
star
65

github-clone-all

clone all GITHUB_USER repos and gists in one go
Shell
2
star
66

vim-script-runner

A vim plugin for running perl, python, ruby, etc. scripts inside of vim.
Vim Script
2
star
67

vimperator-plugins

for Vimperator plugins
JavaScript
2
star
68

vimpager-perlmod

Use VIM as a PAGER. Custom syntax file for perldoc.
Vim Script
2
star
69

vim-syntax-github-recent

Vim syntax file for the Github (dashboard|recent) feed
Vim Script
2
star
70

vim-formatprg

A collection of useful formatprg's for Vim
2
star
71

windows

Shell
1
star
72

perl-test-suite

My tests, the base suite for all projects
Perl
1
star
73

SeTTY

Set terminal properties in XTerm compatible terminals
Perl
1
star
74

String-Utils

Perl
1
star
75

dontbeahero

Don't worry, someone else will save the planet
Perl
1
star
76

with

Execute Perl code on files matching pattern
Perl
1
star
77

App-sync_cpantesters

Sync CPAN testers failure reports to local directories
Perl
1
star
78

urxvt-change-bg-on-focus-event

change bg color on focus lost/gained
Perl
1
star
79

cc256

C
1
star
80

picam

RPi based surv cam that autoposts on twitter
Perl
1
star
81

abs

Archlinux ABS Git
C
1
star
82

File-Media-Sort

Perl Module that sorts a list of incoming names as music/musicvideos/tv-episodes etc
Perl
1
star
83

rel

rel uses Flexget::Parse, Flexget::PatternMatch and Media::Sort to show and sort new media in log/dir by genre/type etc
1
star
84

Term-hr

Perl module that lets you define a thematic change in content of a terminal session
Perl
1
star
85

zcompdef

zsh completion definitions
1
star
86

Mplayer-NowPlaying

Query a running mplayer process for metadata and other information
Perl
1
star
87

Daemon-Mplayer

Library that helps you run mplayer daemonized
Perl
1
star
88

Acme-CPANAuthors-Swedish

We are swedish CPAN authors
Perl
1
star
89

hass-template.vim

Write homeassistant templates in vim and render it using hass-cli
Perl
1
star
90

99-Problems

99 Prolog problems in Perl
Perl
1
star
91

recheck

Regular expression checker with submatches splitting
Perl
1
star
92

vim-ansicolors

Highlight ANSI color name strings with appropriate colors (vim, gvim)
Vim Script
1
star
93

Acme-DependOnEverything

depend on everything
Perl
1
star
94

Yoghurt

Yoghurt is a fork of Yaourt for personal use only
Shell
1
star
95

vim-syntax-tidningsbud

vim syntax file for tidningsbud
Vim Script
1
star
96

vim-after-syntax-zsh

Vim Script
1
star
97

perlinpython3

how to access the power of perl inside your python3 code
Python
1
star
98

cv

my cv
CSS
1
star
99

configs-n950

configs and random hacks for the nokia n950
Shell
1
star
100

Mock-Person-SV

Generate random sets of Swedish names
Perl
1
star