From cef755582affbf266e6d81ba6c0e142a690aeefa Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Sun, 12 Jun 2022 18:25:07 +0900 Subject: [PATCH] README: mention the install option "--unattended" (Fix #334) --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 07a4d47..730eb53 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,16 @@ If you'd like to change the install directory with the `OSH` environment variabl export OSH="$HOME/.dotfiles/oh-my-bash"; bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" ``` +#### Unattended install + +If you're running the Oh My Bash install script as part of an automated install, you can pass the +flag `--unattended` to the `install.sh` script. This will have the effect of not trying to change +the default shell, and also won't run `bash` when the installation has finished. + +```sh +bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" --unattended +``` + #### Manual Installation ##### 1. Clone the repository: