wip
This commit is contained in:
parent
7b91512393
commit
7165513cd7
@ -7,13 +7,13 @@ set -eu
|
||||
{% if yadm.os == "Darwin" %}
|
||||
# install homebrew if it's missing
|
||||
if ! command -v brew >/dev/null 2>&1; then
|
||||
echo "Installing homebrew"
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
echo "Installing homebrew"
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
fi
|
||||
|
||||
if [ -f "$HOME/.Brewfile" ]; then
|
||||
echo "Updating homebrew bundle"
|
||||
brew bundle --global
|
||||
echo "Updating homebrew bundle"
|
||||
brew bundle --global
|
||||
fi
|
||||
{% endif %}
|
||||
|
||||
@ -87,6 +87,10 @@ done
|
||||
|
||||
hash -r
|
||||
|
||||
{% if yadm.os == "Linux" %}
|
||||
npm install --global pure-prompt
|
||||
{% endif %}
|
||||
|
||||
{% if yadm.class == "Work" %}
|
||||
YARN=$(brew --prefix yarn)/bin/yarn
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user