Fix bogus bash binary location
authorEitan Adler <lists@eitanadler.com>
Tue, 17 Apr 2012 04:24:58 +0000 (00:24 -0400)
committerEitan Adler <lists@eitanadler.com>
Tue, 17 Apr 2012 04:24:58 +0000 (00:24 -0400)
57 files changed:
aliases/available/bundler.aliases.bash
aliases/available/emacs.aliases.bash
aliases/available/general.aliases.bash
aliases/available/git.aliases.bash
aliases/available/heroku.aliases.bash
aliases/available/hg.aliases.bash
aliases/available/osx.aliases.bash
aliases/available/rails.aliases.bash
aliases/available/textmate.aliases.bash
aliases/available/todo.txt-cli.aliases.bash
aliases/available/vim.aliases.bash
bash_it.sh
completion/available/fabric-completion.bash
completion/available/rake.completion.bash
completion/available/ssh.completion.bash
completion/available/tmux.completion.bash
custom/example.bash
lib/appearance.bash
lib/history.bash
lib/preexec.bash
plugins/available/base.plugin.bash
plugins/available/battery.plugin.bash
plugins/available/dirs.plugins.bash
plugins/available/git.plugins.bash
plugins/available/hg.plugins.bash
plugins/available/javascript.plugins.bash
plugins/available/jekyll.plugins.bash
plugins/available/latex.plugin.bash
plugins/available/nginx.plugins.bash
plugins/available/osx.plugin.bash
plugins/available/python.plugin.bash
plugins/available/rbenv.plugin.bash
plugins/available/ruby.plugin.bash
plugins/available/rvm.plugin.bash
plugins/available/ssh.plugins.bash
plugins/available/subversion.plugin.bash
plugins/available/tmuxinator.plugin.bash
plugins/available/vagrant.plugins.bash
plugins/available/virtualenv.plugin.bash
plugins/available/z.bash
template/bash_profile.template.bash
themes/base.theme.bash
themes/bobby/bobby.theme.bash
themes/candy/candy.theme.bash
themes/colors.theme.bash
themes/demula/demula.theme.bash
themes/doubletime/doubletime.theme.bash
themes/doubletime_multiline/doubletime_multiline.theme.bash
themes/doubletime_multiline_pyonly/doubletime_multiline_pyonly.theme.bash
themes/envy/envy.theme.bash
themes/hawaii50/hawaii50.theme.bash
themes/n0qorg/n0qorg.theme.bash
themes/pete/pete.theme.bash
themes/rainbowbrite/rainbowbrite.theme.bash
themes/simple/simple.theme.bash
themes/tylenol/tylenol.theme.bash
themes/zitron/zitron.theme.bash

index 12484f6..a7756be 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Bundler Commands
 alias be="bundle exec"
index 5042b17..a133984 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 case $OSTYPE in
   linux*)
index 6c722f4..660a8ca 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # List directory contents
 alias sl=ls
index 45d7d05..abfa996 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Aliases
 alias gcl='git clone'
index a393754..7bc1dbe 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # heroku
 alias h='heroku'
index 64f20f5..245c529 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 alias hs='hg status'
 alias hsum='hg summary'
@@ -11,4 +11,4 @@ function hg-help() {
   echo "  hsum  = hg summary"
   echo "  hcm   = hg commit -m"
   echo
-}
\ No newline at end of file
+}
index e074695..008b67c 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Desktop Programs
 alias fireworks="open -a '/Applications/Adobe Fireworks CS3/Adobe Fireworks CS3.app'"
index 6e1ca14..1d7b310 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Rails Commands
 alias r='rails'
index 4e696a5..897c7d3 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 case $OSTYPE in
   darwin*)
index 045e2f1..ce27716 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 alias tls="$TODO ls"
 alias ta="$TODO a"
index d102575..c156ffd 100644 (file)
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
-alias v='mvim --remote-tab'
\ No newline at end of file
+alias v='mvim --remote-tab'
index 66363f9..8564c88 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Initialize Bash It
 
 # Reload Library
index a4aa90f..7809b38 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Bash completion support for Fabric (http://fabfile.org/)
 #
index 5793bd0..453354f 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Bash completion support for Rake, Ruby Make.
 
 export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}
index ea49026..3dfd6ab 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # Bash completion support for ssh.
 
 export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/}
index e8ee5e7..c872ec5 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # tmux completion
 # See: http://www.debian-administration.org/articles/317 for how to write more.
index e9b3847..3e66ba8 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # This is an example file. Don't use this for your custom scripts. Instead, create another file within the
 # custom directory.
index 28a131a..8e4b5ef 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # colored grep
 export GREP_OPTIONS='--color=auto'
index c0f60f2..92db21f 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # append to bash_history if Terminal.app quits
 shopt -s histappend
@@ -17,4 +17,4 @@ export AUTOFEATURE=true autotest
 
 function rh {
   history | awk '{a[$2]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head
-}
\ No newline at end of file
+}
index e092d82..b1662a9 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # http://www.twistedmatrix.com/users/glyph/preexec.bash.txt
 # preexec.bash -- Bash support for ZSH-like 'preexec' and 'precmd' functions.
 
index 0a4e0c8..3edd8ad 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # For generic functions.
 
index 7c15812..4b9d4b9 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 battery_percentage(){
   if command_exists acpi;
index 9353c5b..e03ccf5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Directory stack navigation:
 #
index b0b9ce8..41b031f 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 function git_remote {
   echo "Running: git remote add origin ${GIT_HOSTING}:$1.git"
index f72761b..33c81d3 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 hg_dirty() {
     hg status --no-color 2> /dev/null \
     | awk '$1 == "?" { print "?" } $1 != "?" { print "!" }' \
@@ -11,4 +11,4 @@ hg_in_repo() {
 
 hg_branch() {
     hg branch 2> /dev/null
-}
\ No newline at end of file
+}
index a480d9e..76a7e13 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # The install directory is hard-coded. TOOD: allow the directory to be specified on the command line.
 #
index eff85ce..74e3cb1 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 editpost() {
   unset SITE
index 9559255..c2ce9dd 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # add mactex to the path if its present
 MACTEX_PATH=/usr/local/texlive/2009/bin/universal-darwin
index 7aa1653..6dd86dd 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 function nginx_reload() {
   FILE="${NGINX_PATH}/logs/nginx.pid"
@@ -47,4 +47,4 @@ function nginx_restart() {
     echo "Nginx pid file not found"
     return 0
   fi
-}
\ No newline at end of file
+}
index cf55377..7d3d077 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 function tab() {
   osascript 2>/dev/null <<EOF
index 3a0bf7f..6c87f8a 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 if [ $(uname) = "Linux" ]
 then
index bfac84d..bd3f78e 100644 (file)
@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Load rbebv, if you are using it
 export PATH="$HOME/.rbenv/bin:$PATH"
 eval "$(rbenv init -)"
 
 # Load the auto-completion script if rbenv was loaded.
-source ~/.rbenv/completions/rbenv.bash
\ No newline at end of file
+source ~/.rbenv/completions/rbenv.bash
index 203fb99..9ae61a4 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 function remove_gem {
   gem list | grep $1 | awk '{ print $1; }' | xargs sudo gem uninstall
-}
\ No newline at end of file
+}
index e158a80..e0d18ba 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Load RVM, if you are using it
 [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
index 0e50199..39718fb 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 function add_ssh() {
   echo -en "\n\nHost $1\n  HostName $2\n  User $3\n  ServerAliveInterval 30\n  ServerAliveCountMax 120" >> ~/.ssh/config
@@ -6,4 +6,4 @@ function add_ssh() {
 
 function sshlist() {
   awk '$1 ~ /Host$/ { print $2 }' ~/.ssh/config
-}
\ No newline at end of file
+}
index 83c9b17..a7fe941 100644 (file)
@@ -1,8 +1,8 @@
-#!/bin/bash
+#!/usr/bin/env bash
 rm_svn(){
   find $1 -name .svn -print0 | xargs -0 rm -rf
 }
 
 svn_add(){
        svn status | grep '^\?' | sed -e 's/? *//' | sed -e 's/ /\ /g' | xargs svn add
-}
\ No newline at end of file
+}
index d8236fc..cf5500d 100644 (file)
@@ -1,3 +1,3 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 [[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && . $HOME/.tmuxinator/scripts/tmuxinator
index 17aff4e..3131744 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 _vagrant()
 {
     cur="${COMP_WORDS[COMP_CWORD]}"
index 1625915..ba27c76 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # make sure virtualenvwrapper is enabled if available
 [[ `which virtualenvwrapper.sh` ]] && . virtualenvwrapper.sh
index d8c3cd6..ef3e3d9 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # maintains a jump-list of the directories you actually use
 #
index 34d99ac..60cac9e 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Load RVM, if you are using it
 [[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm
index 503fc57..fe112ec 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 THEME_PROMPT_HOST='\H'
 SCM_THEME_PROMPT_DIRTY=' ✗'
index 4d15010..308b412 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 SCM_THEME_PROMPT_DIRTY=" ${red}✗"
 SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓"
 SCM_THEME_PROMPT_PREFIX=" |"
index 64d31b8..e568964 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 function prompt_command() {
     PS1="${green}\u@\h ${blue}\T ${reset_color}${white}\w${reset_color}$(scm_prompt_info)\]${blue} →${bold_blue} ${reset_color} ";
 }
index a04c8e4..2feb3e9 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 function __ {
   echo "$@"
index bd48e12..1f13f1e 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash 
+#!/usr/bin/env bash 
 
 # Theme inspired on:
 #  - Ronacher's dotfiles (mitsuhikos) - http://github.com/mitsuhiko/dotfiles/tree/master/bash/
index c79ab5e..6756976 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 SCM_THEME_PROMPT_DIRTY=''
 SCM_THEME_PROMPT_CLEAN=''
 SCM_GIT_CHAR="${bold_cyan}±${normal}"
index d2f6a00..a0b8a99 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 SCM_THEME_PROMPT_DIRTY=" ${red}✗"
 SCM_THEME_PROMPT_CLEAN=" ${bold_green}✓"
 SCM_THEME_PROMPT_PREFIX=" |"
index 0b1fe3b..b693750 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # This theme was obviously inspired a lot by 
 #
index 2b9def6..dd39faf 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # n0qorg theme by Florian Baumann <flo@noqqe.de>
 
 ## look-a-like
index cda451e..7968e53 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 prompt_setter() {
   # Save history
index 1179230..3d92db7 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # based off of n0qorg
 # looks like, if you're in a git repo:
index 2dcd7e7..39e16a1 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # prompt themeing
 
index d8b63ef..4c88e21 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 #
 # Based on 'bobby' theme with the addition of virtualenv_prompt
 #
index 3ec4d97..7737d07 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 # zitron theme by Florian Baumann <flo@noqqe.de>
 
 ## git-theme