wip
This commit is contained in:
parent
6e3b02709f
commit
a0805fc0ea
@ -1,5 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/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
|
# Save this file as ~/.config/yadm/bootstrap and make it executable. It will
|
||||||
# execute all executable files (excluding templates and editor backups) in the
|
# execute all executable files (excluding templates and editor backups) in the
|
||||||
# ~/.config/yadm/bootstrap.d directory when run.
|
# ~/.config/yadm/bootstrap.d directory when run.
|
||||||
@ -14,6 +17,9 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
|
||||||
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
|
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
|
||||||
if ! "$bootstrap"; then
|
if ! "$bootstrap"; then
|
||||||
@ -24,6 +30,8 @@ find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
hash -r
|
hash -r
|
||||||
|
|
||||||
|
{% if yadm.class == "Work" %}
|
||||||
YARN=$(brew --prefix yarn)/bin/yarn
|
YARN=$(brew --prefix yarn)/bin/yarn
|
||||||
|
|
||||||
if (command -v "$YARN" >/dev/null 2>&1); then
|
if (command -v "$YARN" >/dev/null 2>&1); then
|
||||||
@ -34,4 +42,5 @@ if (command -v "$YARN" >/dev/null 2>&1); then
|
|||||||
else
|
else
|
||||||
echo "Successfully installed yalc"
|
echo "Successfully installed yalc"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
{% endif %}
|
@ -1 +1 @@
|
|||||||
/Users/joelillibridge/Library/Application Support/iTerm2
|
/Users/Z002QRN/Library/Application Support/iTerm2
|
Loading…
x
Reference in New Issue
Block a user