hack git conf, posix chtf
Jes Olson jolson@digitalocean.com
Mon, 02 Aug 2021 12:40:33 -0500
2 files changed,
4 insertions(+),
10 deletions(-)
M
.config/git/config
→
.config/git/config
@@ -31,14 +31,8 @@ fetchJobs = 4
[changelog] format = * %s [%an] [user] - name = j3s - email = j3s@c3f.net -[sendemail] - smtpserver = smtp.migadu.com - smtpuser = j3s@c3f.net - smtpencryption = tls - smtpserverport = 465 - annotate = yes + name = Jes Olson + email = jolson@digitalocean.com [pull] ff = only [includeIf "gitdir:~/git/"]
M
bin/chtf
→
bin/chtf
@@ -9,7 +9,7 @@ tf_install_dir="${HOME}/.local/share/chtf"
tf_link_name="${HOME}/bin/terraform" # make some os assumptions -if [ $(uname) == "Linux" ]; then +if [ "$(uname)" = "Linux" ]; then os="linux" else os="Darwin"@@ -30,7 +30,7 @@ if [ ! -f "${tf_install_dir}/${tf_version}" ]; then
# download tf version if not found printf "terraform version not found. downloading...\n" dl="https://releases.hashicorp.com/terraform/${tf_version}/terraform_${tf_version}_${os}_amd64.zip" - printf "downloading ${dl}\n" + printf "downloading %s\n" "$dl" curl -L --output /tmp/tf.zip "$dl" unzip /tmp/tf.zip -d /tmp mv /tmp/terraform "${tf_install_dir}/${tf_version}"