Merge 30728997a5 into 70e4c1ced0
commit
370f63c2af
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
**Bash it** is a mash up of my own bash commands and scripts, other bash stuff I have found.
|
**Bash it** is a mash up of my own bash commands and scripts, other bash stuff I have found.
|
||||||
|
|
||||||
(And a shameless ripoff of [oh-my-zsh](https://github.com/robbyrussell/oh-my-zsh). :)
|
(And a shameless fork from (https://github.com/revans/bash-it). :)
|
||||||
|
|
||||||
Includes autocompletion, themes, aliases, custom functions, a few stolen pieces from Steve Losh, and more.
|
Includes autocompletion, themes, aliases, custom functions, a few stolen pieces from Steve Losh, and more.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
1. Check a clone of this repo: `git clone http://github.com/revans/bash-it.git ~/.bash_it`
|
1. Check a clone of this repo: `git clone http://github.com/noorul/bash-it.git ~/.bash_it`
|
||||||
2. Run `~/.bash_it/install.sh` (it automatically backs up your `~/.bash_profile`)
|
2. Run `~/.bash_it/install.sh` (it automatically backs up your `~/.bash_profile`)
|
||||||
3. Edit your `~/.bash_profile` file in order to customize bash-it.
|
3. Edit your `~/.bash_profile` file in order to customize bash-it.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ for file_type in "aliases" "completion" "plugins"
|
||||||
do
|
do
|
||||||
if [ ! -d "${BASH}/${file_type}/enabled" ]
|
if [ ! -d "${BASH}/${file_type}/enabled" ]
|
||||||
then
|
then
|
||||||
break
|
continue
|
||||||
fi
|
fi
|
||||||
FILES="${BASH}/${file_type}/enabled/*.bash"
|
FILES="${BASH}/${file_type}/enabled/*.bash"
|
||||||
for config_file in $FILES
|
for config_file in $FILES
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,8 @@ export BASH_THEME='bobby'
|
||||||
export GIT_HOSTING='git@git.domain.com'
|
export GIT_HOSTING='git@git.domain.com'
|
||||||
|
|
||||||
# Set my editor and git editor
|
# Set my editor and git editor
|
||||||
export EDITOR="/usr/bin/mate -w"
|
export EDITOR="/usr/local/bin/emacsclient"
|
||||||
export GIT_EDITOR='/usr/bin/mate -w'
|
export GIT_EDITOR='/usr/local/bin/emacsclient'
|
||||||
|
|
||||||
# Set the path nginx
|
# Set the path nginx
|
||||||
export NGINX_PATH='/opt/nginx'
|
export NGINX_PATH='/opt/nginx'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue