summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2011-03-30 01:36:21 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2011-03-30 01:43:53 +0200
commitfa5927b60770f24ace61f05f0992d5b29cdd8247 (patch)
tree3a1d10b56efae7705be5c4123a5e9f4d16830424
parent0378e2976b37647362180766a9ed4db5d831e3e3 (diff)
downloaddotfiles-fa5927b60770f24ace61f05f0992d5b29cdd8247.tar.gz
dotfiles-fa5927b60770f24ace61f05f0992d5b29cdd8247.tar.xz
dotfiles-fa5927b60770f24ace61f05f0992d5b29cdd8247.zip
added compatible bash shebang
-rwxr-xr-xbashrc/bin/copy2
-rwxr-xr-xbashrc/bin/emerge2
-rwxr-xr-xbashrc/bin/maildirmake1
-rwxr-xr-xbashrc/bin/mklnx2
-rwxr-xr-xbashrc/bin/t2
5 files changed, 5 insertions, 4 deletions
diff --git a/bashrc/bin/copy b/bashrc/bin/copy
index 0144fe5..1d106ca 100755
--- a/bashrc/bin/copy
+++ b/bashrc/bin/copy
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [[ -z "$1" ]] ; then
echo "Usage:"
diff --git a/bashrc/bin/emerge b/bashrc/bin/emerge
index cca0a8b..1af67cb 100755
--- a/bashrc/bin/emerge
+++ b/bashrc/bin/emerge
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
export PROMPT_COMMAND=""
/usr/bin/emerge "$@"
diff --git a/bashrc/bin/maildirmake b/bashrc/bin/maildirmake
index 5ba5f11..0cd170e 100755
--- a/bashrc/bin/maildirmake
+++ b/bashrc/bin/maildirmake
@@ -1,3 +1,4 @@
+#!/usr/bin/env bash
# create maildir style directories
if [[ -z "$1" ]] ; then
diff --git a/bashrc/bin/mklnx b/bashrc/bin/mklnx
index 4fcd52e..0ee52a5 100755
--- a/bashrc/bin/mklnx
+++ b/bashrc/bin/mklnx
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -e
diff --git a/bashrc/bin/t b/bashrc/bin/t
index 30c624e..39ba79c 100755
--- a/bashrc/bin/t
+++ b/bashrc/bin/t
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
if [[ "x$1" == x ]] ; then
\tmux list-sessions &>/dev/null ||