Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 10% chance to execute ls #75

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

red-socks294
Copy link

@red-socks294 red-socks294 commented Sep 2, 2021

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

@Julien-Leos
Copy link

Julien-Leos commented Oct 6, 2021

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

@red-socks294
Copy link
Author

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

@tralph3
Copy link

tralph3 commented Dec 19, 2021

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

@red-socks294
Copy link
Author

I will do that when I get to my PC.

@okalachev
Copy link

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.

Update it so it has a 10% chance to execute ls, and if it does do it it will /bin/bash the ls.
@red-socks294
Copy link
Author

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

This has been added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants