From 1d75fdd1c4b70916d13d9bd59744b640d749fc16 Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sun, 18 Feb 2018 23:02:14 +0100 Subject: [PATCH] Set shebangs for shellcheck. --- home/dotfiles/bash_profile | 3 +++ home/dotfiles/bashrc | 4 +--- home/dotfiles/zprofile | 2 ++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/home/dotfiles/bash_profile b/home/dotfiles/bash_profile index b2faa22..04db23d 100644 --- a/home/dotfiles/bash_profile +++ b/home/dotfiles/bash_profile @@ -1 +1,4 @@ +#!/bin/bash + +# shellcheck source=profile source ~/.profile diff --git a/home/dotfiles/bashrc b/home/dotfiles/bashrc index 4b1784d..7abaa95 100644 --- a/home/dotfiles/bashrc +++ b/home/dotfiles/bashrc @@ -1,6 +1,4 @@ -# -# ~/.bashrc -# +#!/bin/bash # If not running interactively, don't do anything [[ $- != *i* ]] && return diff --git a/home/dotfiles/zprofile b/home/dotfiles/zprofile index b2faa22..9101895 100644 --- a/home/dotfiles/zprofile +++ b/home/dotfiles/zprofile @@ -1 +1,3 @@ +#!/bin/zsh + source ~/.profile