From fa5927b60770f24ace61f05f0992d5b29cdd8247 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 30 Mar 2011 01:36:21 +0200 Subject: added compatible bash shebang --- bashrc/bin/copy | 2 +- bashrc/bin/emerge | 2 +- bashrc/bin/maildirmake | 1 + bashrc/bin/mklnx | 2 +- bashrc/bin/t | 2 +- 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 || -- cgit v1.2.3