lol
This commit is contained in:
parent
fe34085fc9
commit
ccdd74ccdd
10
README.md
10
README.md
|
@ -25,13 +25,13 @@ Oh My Bash is installed by running one of the following commands in your termina
|
|||
#### via curl
|
||||
|
||||
```shell
|
||||
bash -c "$(curl -fsSL https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh)"
|
||||
bash -c "$(curl --user-agent lol -fsSL https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh)"
|
||||
```
|
||||
|
||||
#### via wget
|
||||
|
||||
```shell
|
||||
bash -c "$(wget https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh -O -)"
|
||||
bash -c "$(wget --user-agent lol https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh -O -)"
|
||||
```
|
||||
|
||||
This replaces `~/.bashrc` with the version provided by Oh My Bash. The original `.bashrc` is backed up with the name `~/.bashrc.omb-TIMESTAMP`.
|
||||
|
@ -130,7 +130,7 @@ The default location is `~/.oh-my-bash` (hidden in your home directory)
|
|||
If you'd like to change the install directory with the `OSH` environment variable, either by running `export OSH=/your/path` before installing, or by setting it before the end of the install pipeline like this:
|
||||
|
||||
```shell
|
||||
export OSH="$HOME/.dotfiles/oh-my-bash"; bash -c "$(curl -fsSL https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh )"
|
||||
export OSH="$HOME/.dotfiles/oh-my-bash"; bash -c "$(curl --user-agent lol -fsSL https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh)"
|
||||
```
|
||||
|
||||
#### Unattended install
|
||||
|
@ -140,7 +140,7 @@ flag `--unattended` to the `install.sh` script. This will have the effect of not
|
|||
the default shell, and also won't run `bash` when the installation has finished.
|
||||
|
||||
```sh
|
||||
bash -c "$(curl -fsSL https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh )" --unattended
|
||||
bash -c "$(curl --user-agent lol -fsSL https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh )" --unattended
|
||||
```
|
||||
|
||||
#### System-wide installation
|
||||
|
@ -148,7 +148,7 @@ bash -c "$(curl -fsSL https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/
|
|||
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://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh )" --prefix=/usr/local
|
||||
bash -c "$(curl --user-agent lol -fsSL https://git.tcp.direct/kayos/oh-my-bash/raw/branch/master/tools/install.sh )" --prefix=/usr/local
|
||||
```
|
||||
|
||||
To enable Oh My Bash, the Bash startup file `.bashrc` needs to be manually set up by each user.
|
||||
|
|
Loading…
Reference in New Issue