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

Unattended install #275

Closed
ciaranm949 opened this issue Dec 28, 2021 · 7 comments · Fixed by #276
Closed

Unattended install #275

ciaranm949 opened this issue Dec 28, 2021 · 7 comments · Fixed by #276

Comments

@ciaranm949
Copy link

Can’t seem to find any documentation on whether or not there is an unattended install option like oh-my-zsh

@akinomyoga
Copy link
Contributor

Thanks for your feedback! Could you explain what is the unattended installation? According to the ohmyzsh page, is the difference from the normal installation just that it doesn't start a new Bash session after the completion? As far as I have quickly checked the installation script of oh-my-bash, it doesn't seem to attempt to change the default shell.

@ciaranm949
Copy link
Author

I am trying to run the install through a script and once oh my bash is installed, the following commands are not run as oh my bash starts a new shell

@akinomyoga
Copy link
Contributor

akinomyoga commented Dec 29, 2021

I have implemented the option in the support-unattended-install branch (e222d00, PR #276). I would appreciate it if you could test the branch. You can test the installation script of that branch by the following commands:

url=https://raw.githubusercontent.com/ohmybash/oh-my-bash/support-unattended-install/tools/install.sh
bash -c "$(curl -fsSL "$url")" --unattended
bash -c "$(wget "$url" -O -)" --unattended

Thank you!

@akinomyoga
Copy link
Contributor

FYI, I have found a related issue #141.

@akinomyoga
Copy link
Contributor

Although it seems there is no reply, the change works as expected in my environment. I've merged the change. Thank you for the report.

@ciaranm949
Copy link
Author

ciaranm949 commented Jan 5, 2022 via email

@akinomyoga
Copy link
Contributor

Thank you for the information! We are now refactoring oh-my-bash, and there are several changes in the waiting list. I just wanted to merge this into the master to avoid conflicts with other changes on the install script (such as #284).

If you find any issue related to this new option, please feel free to reopen this issue or create a new one!

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 a pull request may close this issue.

2 participants