From 775723fe8b90057296c1dce02eaa9a8b158a37ab Mon Sep 17 00:00:00 2001 From: Noorul Islam K M Date: Mon, 22 Aug 2011 12:20:47 +0530 Subject: [PATCH 1/3] * template/bash_profile: Fix preferred EDITOR --- template/bash_profile.template.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index 95f481e9..6d5fd4fb 100644 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -17,8 +17,8 @@ export BASH_THEME='bobby' export GIT_HOSTING='git@git.domain.com' # Set my editor and git editor -export EDITOR="/usr/bin/mate -w" -export GIT_EDITOR='/usr/bin/mate -w' +export EDITOR="/usr/local/bin/emacsclient" +export GIT_EDITOR='/usr/local/bin/emacsclient' # Set the path nginx export NGINX_PATH='/opt/nginx' From 6ba3e08b7df43635e27380662712c6f611152f8c Mon Sep 17 00:00:00 2001 From: Noorul Islam K M Date: Mon, 22 Aug 2011 12:35:00 +0530 Subject: [PATCH 2/3] Do not break out of the loop instead continue with other items in the list. --- bash_it.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bash_it.sh b/bash_it.sh index c7cbaa73..fd7b546d 100644 --- a/bash_it.sh +++ b/bash_it.sh @@ -22,7 +22,7 @@ for file_type in "aliases" "completion" "plugins" do if [ ! -d "${BASH}/${file_type}/enabled" ] then - break + continue fi FILES="${BASH}/${file_type}/enabled/*.bash" for config_file in $FILES From 30728997a5a12cd8e9591b2c8e0111c80f71a526 Mon Sep 17 00:00:00 2001 From: Noorul Islam K M Date: Mon, 22 Aug 2011 12:59:21 +0530 Subject: [PATCH 3/3] Update README.md document. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c9c303f..529c54b9 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,13 @@ **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. ## 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`) 3. Edit your `~/.bash_profile` file in order to customize bash-it.