This commit is contained in:
Joe Lillibridge 2024-10-31 15:36:55 -05:00
parent 6e3b02709f
commit a0805fc0ea
No known key found for this signature in database
2 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,8 @@
#!/bin/bash
# WARNING: Do not edit this file.
# It was generated by processing {{ yadm.source }}
# Save this file as ~/.config/yadm/bootstrap and make it executable. It will
# execute all executable files (excluding templates and editor backups) in the
# ~/.config/yadm/bootstrap.d directory when run.
@ -14,6 +17,9 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
exit 1
fi
# This will execute all executable files (excluding templates and editor
# backups) in the {{ env.BOOTSTRAP_D }} directory when run.
find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
if ! "$bootstrap"; then
@ -24,6 +30,8 @@ find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
done
hash -r
{% if yadm.class == "Work" %}
YARN=$(brew --prefix yarn)/bin/yarn
if (command -v "$YARN" >/dev/null 2>&1); then
@ -34,4 +42,5 @@ if (command -v "$YARN" >/dev/null 2>&1); then
else
echo "Successfully installed yalc"
fi
fi
fi
{% endif %}

View File

@ -1 +1 @@
/Users/joelillibridge/Library/Application Support/iTerm2
/Users/Z002QRN/Library/Application Support/iTerm2