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 mechanism preventing loading sbo-shell multiple times, add _restart #4

Open
jarmuszz opened this issue Aug 28, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@jarmuszz
Copy link
Owner

When sbo-shell starts set some variable, when it ends unset it. At the end of the file check whether the said variable is set or not.

The _restart function will be a lot more tricky - because sbo-shell is suposed to be sourced, the $0 is equal to shell's $0, and ergo, sbo-shell doesn't know it's path.

@jarmuszz jarmuszz added the enhancement New feature or request label Aug 28, 2021
@jarmuszz jarmuszz added this to the v1.0 stable release milestone Aug 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant