Sl: a steam locomotive in your terminal
21–30 of 58 posts
Re: Sl: a steam locomotive in your terminal
#22I very quickly learned to alias sl=ls in my shell rc, and it's still in there to this day, just in case...
Re: Sl: a steam locomotive in your terminal
#23Re: Sl: a steam locomotive in your terminal
#24 > The following code changes the default behaviour of ls from listing
> files to turning your terminal into an unstoppable steam locomotive.
> The only way to end it is closing the terminal, so use this with caution.
erm, that's easily stopped: [ctrl]+z
$ pkill -9 slRe: Sl: a steam locomotive in your terminal
#25Re: Sl: a steam locomotive in your terminal
#26Great, excellent, fun. But, clearly, it should run 'ls' after doing its choo choo?
Optimizing for the long term is also plausible. "Don't reward me for making mistakes (even if you also punish me) because it'll dilute my muscle-memory training, and I'll be more likely to make mistakes in the future."
Neither of these is inherently more correct than the other. The long term has more uncertainty, but greater potential rewards. We just have to make a judgment call.
I tend to favor the long-term approach for sl. I can't easily quantify how valuable my stricter muscle-memory training will be, but I can imagine the possibility of a significant upside if I actually become a more precise typer. Also, the worst-case downside just isn't that bad -- retyping ls just isn't that hard.
Re: Sl: a steam locomotive in your terminal
#27We need one for "got"
Got Milk?, Displays Got Milk? Advert. Boring
GOThic, Changes terminal font to Gothic?
GoT, Game of Thrones, Decapitates user?, Automatically fires up BitTorrent client and grabs latest episode? Plays ASCII art GoT episode? Cat's all of GRRM's GoT novels into your terminal? (That'll teach you).
Re: Sl: a steam locomotive in your terminal
#28> The following code changes the default behaviour of ls from listing > files to turning your terminal into an unstoppable steam locomotive. > The only way to end it is closing the terminal, so use this with caution. erm, that's easily stopped: [ctrl]+z $ pkill -9 sl
Re: Sl: a steam locomotive in your terminal
#29Typing dc instead of cd, though is still very common. And dc just mockingly tells me: "will not attempt to process directory."
(I now have `no` aliased to ls. Maybe I should alias `on` to sl.)
Re: Sl: a steam locomotive in your terminal
#30Is this even a good example for using html marquee?