diff --git a/scripts/scripts/mkhpadir b/scripts/scripts/mkhpadir new file mode 100755 index 0000000..92f3132 --- /dev/null +++ b/scripts/scripts/mkhpadir @@ -0,0 +1,25 @@ +#!/bin/zsh + +# Creates a new home performance assesment directory, from the skeleton +# directory. + +sdate="$(date '+%Y.%m.%d' | cut -c3-)" +customerName="$1" +dirName="${sdate}.${customerName}_HPA" +skelPath="$SKELETONDIR/hpa" + +#-------------------- MAIN -------------------- + +if [ -z $customerName ]; then + echo "Customer name should not be empty." && exit 1 +fi + +if [ ! -d $skelPath ]; then + echo "Could not find skeleton directory." && exit 1 +fi + +if [ ! -d $PROPOSALS ]; then + echo "Could not find proposals directory." && exit 1 +fi + +cp -R "$skelPath" "$PROPOSALS/$dirName" diff --git a/skeleton/hpa/Questions.numbers b/skeleton/hpa/Questions.numbers new file mode 100755 index 0000000..bc9a8d3 Binary files /dev/null and b/skeleton/hpa/Questions.numbers differ diff --git a/skeleton/hpa/Report.pages b/skeleton/hpa/Report.pages new file mode 100755 index 0000000..4e8f848 Binary files /dev/null and b/skeleton/hpa/Report.pages differ diff --git a/zsh/config/.zshenv b/zsh/config/.zshenv index f7583a2..2ef2fb9 100644 --- a/zsh/config/.zshenv +++ b/zsh/config/.zshenv @@ -44,6 +44,7 @@ export WORK="$HOME/Library/Mobile Documents/com~apple~CloudDocs/Work" export ZETDIR="$GHREPOS/zets" export MYZSHRC="$ZDOTDIR/.zshrc" export NAP_CONFIG="$HOME/.config/nap/config.yaml" +export SKELETONDIR="$DOTFILES/skeleton" # NPM export NPM_CONFIG_CACHE="$HOME/.local/npm"