Hacker News new | ask | show | jobs
by thrdbndndn 795 days ago
> one alias to fix the typo sl => ls.

I'm wondering what others think about such feature (in general, not just in this specific case).

On one hand, it won't negatively affect my personal usage in anyway, probably even beneficial; On the other hand, the "purist in me" feels very uncomfortable with this kind of features (probably to the detriment of myself).

Again, this is not a complainant at all. Just find it interesting.

2 comments

Or, just install sl!

https://www.cyberciti.biz/tips/displays-animations-when-acci...

Personally I have sl aliased to sl=sl && ls to make sure I break the habit of ever typing sl.

(Though also usually I'm typing ll which I have aliased to an ls with list mode and many details)

I have a magic enter plugin that just runs 'll' when I input no command and press enter, I haven't typed ll in months!
It's not for me. I can see the appeal of these shortcuts, but I can see it being a wtf down the road once I've forgotten that I have them in place.

Also with something like auto-correct, you have a visual affordance that alerts you to the change (with the option to override), which just happened when I misspelled 'forgotten' above. The shell doesn't have that so something just happens without any actual correction or indication the user may have made an error. Although I am not a 'fish' user, this is something that I think it does well.