From 51d3ad0fb840f48ab60d772f3e935d2ff1eb3913 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Thu, 20 Oct 2011 22:11:15 +0800 Subject: [PATCH] Added shebang to install.sh --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index df10382..7035d68 100755 --- a/install.sh +++ b/install.sh @@ -1,11 +1,11 @@ +#!/bin/bash # This loads SCM Breeze into the shell session. exec_string='[[ -s "$HOME/.scm_breeze/scm_breeze.sh" ]] && . "$HOME/.scm_breeze/scm_breeze.sh"' # Add line to bashrc and zshrc if not already present. for rc in bashrc zshrc; do if [[ -s "$HOME/.$rc" ]] && ! grep -q "$exec_string" "$HOME/.$rc"; then - echo >> "$HOME/.$rc" - echo "$exec_string" >> "$HOME/.$rc" + echo -e "\n$exec_string" >> "$HOME/.$rc" echo "== Added SCM Breeze to '~/.$rc'" fi done