11#! /bin/bash
22CURRENT_DIR=$( pwd)
33
4-
5- echo ' export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"' >> ~ /.zshrc
6- sed -i " /plugins=/c\plugins=(git ssh-agent sudo terraform dirhistory)" ~ /.zshrc
7- cat ~ /.zshrc
8-
94echo " copying defaults"
105echo " getting nhse repo template"
116echo " Cloning $REPO into $DEST "
@@ -36,21 +31,14 @@ git switch -C $UPDATE_BRANCH
3631\c p -f $DEST /.gitignore ./
3732\c p -f $DEST /.gitleaksignore ./
3833
39- # git add .
40- # export GPG_TTY=$(tty)
41- # git commit -m "Update default files from $REPO" || echo "No changes to commit"
42- # git switch $CURRENT_BRANCH
43- # git merge $UPDATE_BRANCH -m "Merge default files from $REPO"
4434
4535echo " $REPO template complete"
4636
47- echo " adding gpg tty to zshrc "
48- echo ' export GPG_TTY=$(tty) ' >> ~ /.zshrc
49- echo " added gpg tty to zshrc "
37+ echo " reload shell "
38+ source ~ /.zshrc
39+ echo " reloaded shell "
5040
5141echo " running make config"
52- # source ~/.zshrc
53- # echo "sourced .zshrc"
5442make config
5543echo " make config complete"
5644
@@ -60,3 +48,14 @@ echo "sorting certs"
6048sudo cp -r --update=none /home/ca-certificates/. /usr/local/share/ca-certificates
6149sudo update-ca-certificates
6250echo " sorted certs"
51+
52+
53+ echo " configuring ohmyzsh"
54+ echo ' export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"' >> ~ /.zshrc
55+ sed -i " /plugins=/c\plugins=(git ssh-agent sudo terraform dirhistory)" ~ /.zshrc
56+ cat ~ /.zshrc
57+ echo " configured ohmyzsh"
58+
59+ echo " adding gpg tty to zshrc"
60+ echo ' export GPG_TTY=$(tty)' >> ~ /.zshrc
61+ echo " added gpg tty to zshrc"
0 commit comments