From df0e55362506416b3c779852009008b9150787f1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 22 Mar 2013 21:06:04 -0400 Subject: [PATCH] Use /usr/bin/env bash|zsh for shebangs --- install/osx | 2 +- install/rvm | 2 +- install/tmux | 2 +- install/vim | 2 +- install/zsh | 4 +++- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/install/osx b/install/osx index e582c7f8..474ef303 100755 --- a/install/osx +++ b/install/osx @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # ~/.osx — http://mths.be/osx diff --git a/install/rvm b/install/rvm index 5d8f4a4e..bc6db204 100755 --- a/install/rvm +++ b/install/rvm @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh if ! command_exists rvm; then # If RVM's not installed, install it and the rubies diff --git a/install/tmux b/install/tmux index 273e6db2..04064581 100755 --- a/install/tmux +++ b/install/tmux @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh if ! command_exists "tmux"; then echo-g "==> Installing tmux" diff --git a/install/vim b/install/vim index 6242377f..e8966668 100755 --- a/install/vim +++ b/install/vim @@ -1,4 +1,4 @@ -#!/bin/zsh +#!/usr/bin/env zsh # Installing macvim/compiling vim if is_mac && ! command_exists "mvim"; then diff --git a/install/zsh b/install/zsh index 8e2a687c..2eef2f32 100755 --- a/install/zsh +++ b/install/zsh @@ -1,4 +1,6 @@ -#!/bin/bash +#!/usr/bin/env bash + +source ~/.dotfiles/zsh/functions if [ ! -d ~/.oh-my-zsh ]; then # https://github.com/robbyrussell/oh-my-zsh