bash_aliases/template.aliases
deathbybandaid 4f2976f982 st
2022-03-08 09:41:25 -05:00

22 lines
620 B
Plaintext

# The Contents of this file will be running our setup command
# Run Template Setup Script
# alias template-setup='bash /etc/template_setup/template_setup.sh'
template_setup_path="/etc/template_setup"
template_setup_repo="https://git.deathbybandaid.net/deathbybandaid/template_setup.git"
mcd () {
if [ -d "$template_setup_path" ] ; then
git -C $template_setup_path pull --quiet && echo "Pulled $template_setup_path"
else
git clone --quiet "$template_setup_repo" "$template_setup_path" && echo "Pulled $template_setup_path"
fi
bash /etc/template_setup/template_setup.sh
}
#template-setup ()
#{#
#
#}