mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
README: Describe the user setup for the system-wide installation
This commit is contained in:
10
README.md
10
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
|
||||
|
||||
|
Reference in New Issue
Block a user