diff --git a/bin/git-archive-file b/bin/git-archive-file index e9dca7d..cf0d0f0 100755 --- a/bin/git-archive-file +++ b/bin/git-archive-file @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # extract current branch name BRANCH=$(git name-rev HEAD 2> /dev/null | awk "{ print \$2 }") @@ -31,4 +31,4 @@ OUTPUT=$(pwd)/$FILENAME git archive --format zip --output $OUTPUT $BRANCH # also display size of the resulting file -echo Saved to \"$FILENAME\" \(`du -h $OUTPUT | cut -f1`\) \ No newline at end of file +echo Saved to \"$FILENAME\" \(`du -h $OUTPUT | cut -f1`\) diff --git a/bin/git-effort b/bin/git-effort index 6023620..5b82c20 100755 --- a/bin/git-effort +++ b/bin/git-effort @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash tmp=/tmp/.git-effort above='0' diff --git a/bin/git-ignore b/bin/git-ignore index dac8113..a563afe 100755 --- a/bin/git-ignore +++ b/bin/git-ignore @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash function show_contents { test -f "$2" && echo "$1 gitignore: $2" && cat "$2" diff --git a/bin/git-line-summary b/bin/git-line-summary index 95051fe..f441ccd 100755 --- a/bin/git-line-summary +++ b/bin/git-line-summary @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash project=${PWD##*/} diff --git a/bin/git-repl b/bin/git-repl index 90f2fcc..eae33a5 100755 --- a/bin/git-repl +++ b/bin/git-repl @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash while true; do # Current branch