Remove exit from install. Update readme for install locations
parent
7923b865ea
commit
dad983adb5
|
|
@ -10,7 +10,7 @@ Bash it provides a solid framework for using, developing and maintaining shell s
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
1. Check a clone of this repo: `git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it`
|
1. Check a clone of this repo to a location of your choice, such as: `git clone --depth=1 https://github.com/Bash-it/bash-it.git ~/.bash_it`
|
||||||
2. Run `~/.bash_it/install.sh` (it automatically backs up your `~/.bash_profile` or `~/.bashrc`, depending on your OS)
|
2. Run `~/.bash_it/install.sh` (it automatically backs up your `~/.bash_profile` or `~/.bashrc`, depending on your OS)
|
||||||
3. Edit your modified config (`~/.bash_profile` or `~/.bashrc`) file in order to customize Bash it.
|
3. Edit your modified config (`~/.bash_profile` or `~/.bashrc`) file in order to customize Bash it.
|
||||||
4. Check out available aliases, completions and plugins and enable the ones you want to use (see the next section for more details).
|
4. Check out available aliases, completions and plugins and enable the ones you want to use (see the next section for more details).
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,6 @@ test -w "$HOME/$CONFIG_FILE" &&
|
||||||
|
|
||||||
cp "$BASH_IT/template/bash_profile.template.bash" "$HOME/$CONFIG_FILE"
|
cp "$BASH_IT/template/bash_profile.template.bash" "$HOME/$CONFIG_FILE"
|
||||||
sed -i "s|{{BASH_IT}}|$BASH_IT|" "$HOME/$CONFIG_FILE"
|
sed -i "s|{{BASH_IT}}|$BASH_IT|" "$HOME/$CONFIG_FILE"
|
||||||
exit
|
|
||||||
|
|
||||||
echo -e "\033[0;32mCopied the template $CONFIG_FILE into ~/$CONFIG_FILE, edit this file to customize bash-it\033[0m"
|
echo -e "\033[0;32mCopied the template $CONFIG_FILE into ~/$CONFIG_FILE, edit this file to customize bash-it\033[0m"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue