wip
This commit is contained in:
parent
51fd96c296
commit
9f8d332f72
@ -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 %}
|
|
||||||
|
4
.config/yadm/bootstrap.d/pure-prompt.sh##os.Linux
Normal file
4
.config/yadm/bootstrap.d/pure-prompt.sh##os.Linux
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
hash -r
|
||||||
|
npm install --global pure-prompt
|
13
.config/yadm/bootstrap.d/yalc.sh##class.Work,os.Darwin
Normal file
13
.config/yadm/bootstrap.d/yalc.sh##class.Work,os.Darwin
Normal 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
1
.gitignore
vendored
@ -47,6 +47,7 @@ __pycache__/
|
|||||||
.rest-client
|
.rest-client
|
||||||
.sonarlint
|
.sonarlint
|
||||||
.ssh
|
.ssh
|
||||||
|
.stfolder
|
||||||
.tldrc
|
.tldrc
|
||||||
.Trash
|
.Trash
|
||||||
.vault-token
|
.vault-token
|
||||||
|
Loading…
x
Reference in New Issue
Block a user