@drwho what is less -X ? I don't understand what it does.

@prahou "When you quit less, don't clear the screen."

@drwho @prahou

Omg I need this -X

Need to figure out colors in less too...

H.town - come for the hacking, stay for the Two Small Characters That Will Change Your Life Forever!

@float13 @prahou Use the `-r` switch to less.

Keep in mind, however (I just ran into this) that some utilities (like ls and lsd) will detect when they're part of a pileline and refuse to output colors unless you force them to.

I use lsd on Windbringer (aliased to ls) and have to add `--color=always` for it to work.

@drwho I would alias that to "sudo !!", so it repeats the last command.

$ do_something
You can't do that
$ holdmybeer

Sign in to participate in the conversation

A bunch of technomancers in the fediverse. This arcology is for all who wash up upon it's digital shore.