diff --git a/symlinker.sh b/symlinker.sh index b9caa6f..97aa46e 100755 --- a/symlinker.sh +++ b/symlinker.sh @@ -70,6 +70,20 @@ function svc(){ fi } +function trb(){ + name="trb" + linkDir="${linkDir}" + + if [ ! -f "${linkDir}/${name}" ];then + printf "\nLinking ${pwd}/${name} to ${linkDir}\n" + ln -s $(pwd)/${name}.sh ${linkDir}/${name} + else + printf "${name} already exists in ${linkDir}\n" + fi + + +} + case "${1}" in -r | --remove ) @@ -91,6 +105,9 @@ case "${1}" in mic ) mic;; + trb) + trb;; + test ) echo ${linkDir};; * ) printf "\n${0} \n"