This commit is contained in:
Joe Lillibridge 2024-12-04 12:06:08 -06:00
parent 51fd96c296
commit 9f8d332f72
No known key found for this signature in database
4 changed files with 18 additions and 20 deletions

View File

@ -82,23 +82,3 @@ find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
fi fi
fi fi
done done
hash -r
{% if yadm.os == "Linux" %}
npm install --global pure-prompt
{% endif %}
{% if yadm.class == "Work" %}
YARN=$(brew --prefix yarn)/bin/yarn
if (command -v "$YARN" >/dev/null 2>&1); then
# Install yalc. Needed for local-publish
echo "Installing yalc..."
if ! $YARN global add yalc; then
echo "Failed to install yalc" >&2
else
echo "Successfully installed yalc"
fi
fi
{% endif %}

View File

@ -0,0 +1,4 @@
#!/bin/bash
hash -r
npm install --global pure-prompt

View File

@ -0,0 +1,13 @@
#!/bin/bash
YARN=$(brew --prefix yarn)/bin/yarn
if (command -v "$YARN" >/dev/null 2>&1); then
# Install yalc. Needed for local-publish
echo "Installing yalc..."
if ! $YARN global add yalc; then
echo "Failed to install yalc" >&2
else
echo "Successfully installed yalc"
fi
fi

1
.gitignore vendored
View File

@ -47,6 +47,7 @@ __pycache__/
.rest-client .rest-client
.sonarlint .sonarlint
.ssh .ssh
.stfolder
.tldrc .tldrc
.Trash .Trash
.vault-token .vault-token