From c91d1db03300800682a98441a5b47b44a074899d Mon Sep 17 00:00:00 2001 From: Koichi Murase Date: Fri, 15 Jul 2022 10:28:56 +0900 Subject: [PATCH] README: Describe the user setup for the system-wide installation --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e5c2eba..f8d8a36 100644 --- a/README.md +++ b/README.md @@ -136,13 +136,19 @@ bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/mast #### System-wide installation -For example, Oh My Bash can be installed to `/usr/local/share/oh-my-bash` for the system-wide installation by specifying the option `--prefix=PATH`. +For example, Oh My Bash can be installed to `/usr/local/share/oh-my-bash` for the system-wide installation by specifying the option `--prefix=PREFIX`. ```sh bash -c "$(curl -fsSL https://raw.githubusercontent.com/ohmybash/oh-my-bash/master/tools/install.sh)" --prefix=/usr/local ``` -The Bash startup file `.bashrc` needs to be manually set up by each user. +To enable Oh My Bash, the Bash startup file `.bashrc` needs to be manually set up by each user. +The template of `.bashrc` is available in `PREFIX/share/oh-my-bash/bashrc`. +The users can copy the template file to `~/.bashrc` and edit it. + +```bash +cp /usr/local/share/oh-my-bash/bashrc ~/.bashrc +``` #### Manual Installation