mtoyoda / sl

SL(1): Cure your bad habit of mistyping
Other
2.95k stars 427 forks source link

add 10% chance to execute ls #75

Open fel1x0u opened 3 years ago

fel1x0u commented 3 years ago

because of the StackExchange thread "Does sl ever show the current directory?"

Julien-Leos commented 3 years ago

I approve. Now please add 1% chance on ls to execute sl.

fel1x0u commented 3 years ago

Okay... but i'll first attempt to check if sl is indeed installed on the system

tralph3 commented 2 years ago

I would suggest running ls and letting the shell interpret it, that way aliases should be respected.

fel1x0u commented 2 years ago

I will do that when I get to my PC.

okalachev commented 2 years ago

This would ruin the joke:

As far as I know, the only condition under which sl shows the current directory is when you mistype it as ls.

So I'm against.

fel1x0u commented 2 years ago

I would suggest running ls and letting the shell interpret it, that way aliases should be respected.

This has been added.