Cleaned bash it up
authorRobert R Evans <robert@codewranglers.org>
Sat, 2 Oct 2010 19:29:17 +0000 (12:29 -0700)
committerRobert R Evans <robert@codewranglers.org>
Sat, 2 Oct 2010 19:29:17 +0000 (12:29 -0700)
21 files changed:
bash_it.sh
custom/custom.bash
functions/base.bash
functions/git.bash
functions/javascript.bash
functions/nginx.bash
lib/aliases.bash
lib/appearance.bash
lib/grep.bash [deleted file]
lib/history.bash
plugins/base.bash
plugins/git.bash
plugins/osx.bash
plugins/rails.bash
plugins/ruby.bash
plugins/rvm.bash
plugins/subversion.bash
plugins/textmate.bash
plugins/vim.bash
themes/base.bash
themes/bobby/bobby.bash

index 9d1f0be..0aba05f 100644 (file)
@@ -1,3 +1,4 @@
+#!/bin/bash
 # Initialize Bash It
 
 # Reload Library
index 1176192..caae863 100644 (file)
@@ -1,2 +1,4 @@
+#!/bin/bash
+
 # Your Custom Bash alias', functions, etc.
 #
\ No newline at end of file
index c7dc909..bbb6f2f 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 function rh {
   history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
 }
index 17e8a70..50f4459 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 function git_remote {
   echo "Running: git remote add origin ${GIT_HOSTING}:$1.git"
   git remote add origin $GIT_HOSTING:$1.git
index 9f1d52e..f37859d 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 function rails_jquery {
   curl -o public/javascripts/rails.js http://github.com/rails/jquery-ujs/raw/master/src/rails.js
 }
index 702c0d8..7aa1653 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 function nginx_reload() {
   FILE="${NGINX_PATH}/logs/nginx.pid"
   if [ -e $FILE ]; then
index d58a723..50acc51 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # List directory contents
 alias sl=ls
 alias ls='ls -G'        # Compact view, show colors
index cde1af9..69ca55e 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # colored grep
 export GREP_OPTIONS='--color=auto'
 export GREP_COLOR='1;33'
@@ -5,8 +7,5 @@ export GREP_COLOR='1;33'
 # colored ls
 export LSCOLORS='Gxfxcxdxdxegedabagacad'
 
-# Apply theming defaults
-PS1="%n@%m:%~%# "
-
 # Load the theme
 source "$BASH/themes/$BASH_THEME/$BASH_THEME.bash"
\ No newline at end of file
diff --git a/lib/grep.bash b/lib/grep.bash
deleted file mode 100644 (file)
index 5cb6983..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-export GREP_OPTIONS='--color=auto'
-export GREP_COLOR='1;32'
\ No newline at end of file
index 23731c5..3d489e9 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # append to bash_history if Terminal.app quits
 shopt -s histappend
 
index a39b37f..c256247 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # Desktop Programs
 alias fireworks="open -a '/Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app'"
 alias photoshop="open -a '/Applications/Adobe Photoshop CS3/Adobe Photoshop.app'"
index 2e4a6c7..d62edc6 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # Aliases
 alias g='git'
 alias gst='git status'
index fce88c7..a2ad79b 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 function tab() {
   osascript 2>/dev/null <<EOF
     tell application "System Events"
index 08d7f85..056e2a3 100644 (file)
@@ -1,11 +1,4 @@
-#
-# These is some Alias' for Rails
-#
-
-alias ss='script/server'
-alias sc='script/console'
-alias restart_app='touch tmp/restart.txt'
-
+#!/bin/bash
 
 # Rails Commands
 alias r='rails'
@@ -18,4 +11,7 @@ alias rp='rails plugin'
 alias ra='rails application'
 alias rd='rails destroy'
 
+alias ss='script/server'
+alias sc='script/console'
+alias restart_app='touch tmp/restart.txt'
 alias devlog='tail -f log/development.log'
\ No newline at end of file
index 8936e0a..203fb99 100644 (file)
@@ -1,3 +1,4 @@
+#!/bin/bash
 function remove_gem {
   gem list | grep $1 | awk '{ print $1; }' | xargs sudo gem uninstall
 }
\ No newline at end of file
index de49b38..020bb3f 100644 (file)
@@ -1,3 +1,4 @@
+#!/bin/bash
 switch () {
   rvm $1
   local v=$(rvm_version)
index 50a28dc..83c9b17 100644 (file)
@@ -1,3 +1,4 @@
+#!/bin/bash
 rm_svn(){
   find $1 -name .svn -print0 | xargs -0 rm -rf
 }
index d640090..4aa494a 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # Textmate
 alias e='mate . &'
 alias et='mate app config db lib public script test spec config.ru Gemfile Rakefile README &'
index 0e7aa10..28681b0 100644 (file)
@@ -1,2 +1,4 @@
+#!/bin/bash
+
 # VIM
 alias v='mvim --remote-silent'
\ No newline at end of file
index cfa4896..7786957 100644 (file)
@@ -1,3 +1,5 @@
+#!/bin/bash
+
 # Some Colors
 BGREEN='\[\033[1;32m\]'
 GREEN='\[\033[0;32m\]'
index a85efe4..9dbf147 100644 (file)
@@ -1 +1,2 @@
+#!/bin/bash
 export PS1='\[\033[1;34m\]$(prompt_char)\[\033[1;32m\] $(parse_git_branch) ${ORANGE}\h ${D}in ${GREEN}\w ${D}→ '
\ No newline at end of file