diff --git a/achar b/achar index ce19e53..a3d142d 100644 --- a/achar +++ b/achar @@ -1,3 +1,4 @@ +#!/bin/bash ## Title : ACHAR - Auto Completion of Hosts Add/Remove script ## Version : 0.2 ## GIT Repo : https://git.zaks.web.za/zaks-web/achar @@ -143,6 +144,10 @@ function achar_help { echo "${line:3}" + elif [[ ${line:0:2} == "#!" ]]; then + + donothing=0 + else echo diff --git a/src/achar.sh b/src/achar.sh index ce19e53..a3d142d 100644 --- a/src/achar.sh +++ b/src/achar.sh @@ -1,3 +1,4 @@ +#!/bin/bash ## Title : ACHAR - Auto Completion of Hosts Add/Remove script ## Version : 0.2 ## GIT Repo : https://git.zaks.web.za/zaks-web/achar @@ -143,6 +144,10 @@ function achar_help { echo "${line:3}" + elif [[ ${line:0:2} == "#!" ]]; then + + donothing=0 + else echo