Top
Best
New

Posted by refp 5 days ago

A shell exclamation mark is not for yelling. Be lazy(refp.se)
80 points | 34 commentspage 2
b112 3 hours ago|
Everyone need be aware, bash uses emac extensions by default. As I refuse to use emacs, I therefore refuse to use these extensions in bash!

In as most sensible people use vi, don't taint yourself by touching this foul and evil emacs magic. Being known as an emacs user could cost you a job, shorten your career, or even cause rifts with family and friends.

Instead my friends, if you must use such bash shenanigans, switch it to vi extensions. You'll feel better about yourself, stand taller, and be a better human being as a result.

Be safe.

adityaathalye 2 hours ago|
Well, Emacs shenanigans are why I use Bash. Also, I last had a day job five years ago, I don't have anything that looks like a career, and well you're right about some of the family and friends.

You are a soothsayer!

charcircuit 1 hour ago||
Not knowing what command you are doing before you submit it is poor design. There are alternative ways to access old commands where you can see the actual command you are about to run before you submit it. The physical teletype era is over.
RMPR 4 hours ago||
If you really want to be lazy, use a terminal file manager (I prefer lf[0]) it helps avoiding the cd && ls dance. That way, your history only contains commands you actually would want to rerun.

0: https://github.com/gokcehan/lf

LoganDark 1 hour ago|
> That way, your history only contains commands you actually would want to rerun.

just turn on the thing where a leading space doesn't commit to history and you can do this already.

ta8903 2 hours ago|
Very annoying prose.