Fix bogus bash binary location

This commit is contained in:
Eitan Adler
2012-04-17 00:24:58 -04:00
parent a74279df5c
commit 3fc60b5358
57 changed files with 66 additions and 66 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# For generic functions.

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
battery_percentage(){
if command_exists acpi;

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Directory stack navigation:
#

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function git_remote {
echo "Running: git remote add origin ${GIT_HOSTING}:$1.git"

View 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
}
}

View 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.
#

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
editpost() {
unset SITE

View 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

View 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
}
}

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function tab() {
osascript 2>/dev/null <<EOF

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [ $(uname) = "Linux" ]
then

View 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
source ~/.rbenv/completions/rbenv.bash

View 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
}
}

View 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

View 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
}
}

View 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
}
}

View File

@@ -1,3 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && . $HOME/.tmuxinator/scripts/tmuxinator

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
_vagrant()
{
cur="${COMP_WORDS[COMP_CWORD]}"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# make sure virtualenvwrapper is enabled if available
[[ `which virtualenvwrapper.sh` ]] && . virtualenvwrapper.sh

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# maintains a jump-list of the directories you actually use
#