Skip to content

Commit

Permalink
fix: sourcedir
Browse files Browse the repository at this point in the history
  • Loading branch information
senz committed Apr 21, 2024
1 parent 4e5f6a6 commit c0483bc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ prepare_devcontainer() {
echo "pre-populating config from gitconfig"
cat <<EOF > $HOME/.config/chezmoi/chezmoi.yaml
---
sourceDir: $HOME/dotfiles
data:
fullname: $(git config --get user.name)
email: $(git config --get user.email)
Expand Down
11 changes: 11 additions & 0 deletions run_once_before_install-packages-darwin.sh.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
#!/bin/bash
set -eu

install_homebrew() {
if [ ! -x "$(command -v brew)" ]; then
xcode-select --install

echo "Installing Homebrew"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
}

install_homebrew

# install homebrew casks/brews
export HOMEBREW_CASK_OPTS=--no-quarantine

Expand Down

0 comments on commit c0483bc

Please sign in to comment.