From 7165513cd776d1acb85a5201cb74d2c66398f869 Mon Sep 17 00:00:00 2001 From: Joe Lillibridge Date: Mon, 2 Dec 2024 13:48:19 -0600 Subject: [PATCH] wip --- .config/yadm/bootstrap##template | 12 ++++++++---- .zshrc | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.config/yadm/bootstrap##template b/.config/yadm/bootstrap##template index a9c3a0c..b336b8d 100755 --- a/.config/yadm/bootstrap##template +++ b/.config/yadm/bootstrap##template @@ -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 diff --git a/.zshrc b/.zshrc index 10c07c5..94b2877 100644 --- a/.zshrc +++ b/.zshrc @@ -67,7 +67,6 @@ FUNCS_TO_AUTOLOAD=() FUNCS_TO_AUTOLOAD+=( f fshow - ql show-fpath take tre @@ -80,6 +79,7 @@ FUNCS_TO_AUTOLOAD+=( if [ "$system_type" = "Darwin" ]; then FUNCS_TO_AUTOLOAD+=( brew-visit + ql ) fi