-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbootstrap.sh
More file actions
74 lines (64 loc) · 2.13 KB
/
Copy pathbootstrap.sh
File metadata and controls
74 lines (64 loc) · 2.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
echo "Installing software with shell scripts"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
curl https://cursor.com/install -fsS | bash
curl -fsSL https://claude.ai/install.sh | bash
echo "Installing software with Homebrew"
brew tap FelixKratz/formulae # used for borders
brew install \
mackup \
eza \
bat \
gh \
fzf \
git-delta \
difftastic \
direnv \
koekeishiya/formulae/yabai \
koekeishiya/formulae/skhd \
borders \
rip2 \
1password-cli \
asdf \
starship \
sst/tap/opencode \
tmux
# Install UI applications with --cask
brew install --cask \
raycast \
iterm2
echo "Restoring configurations with Mackup"
cd $GIT_PROJECTS_WORKDIR/dotfiles/Mackup/.mackup.cfg $HOME/.mackup.cfg
mackup --force restore # Using force to override .mackup.cfg
echo "Sourcing zshrc to include new configurations"
source $HOME/.zshrc
echo "Linking Claude Code skills"
sh $GIT_PROJECTS_WORKDIR/dotfiles/scripts/link_skills.sh
echo "Setting up private dotfiles (not tracked in this public repo)"
if [ ! -d $GIT_PROJECTS_WORKDIR/dotfiles-private ]; then
git clone git@github.com:DevonFulcher/dotfiles-private.git $GIT_PROJECTS_WORKDIR/dotfiles-private
fi
sh $GIT_PROJECTS_WORKDIR/dotfiles-private/setup.sh
echo "Installing software with asdf"
asdf plugin add python
asdf plugin add rust
asdf plugin add terraform
asdf plugin add grpcurl
asdf plugin add golang
asdf plugin add uv
asdf plugin add pre-commit
asdf plugin add helm
asdf plugin add task
asdf plugin add nodejs
asdf install
echo "Installing software with git"
git clone https://github.com/DevonFulcher/toolbelt.git $GIT_PROJECTS_WORKDIR/toolbelt
echo "Installing software with uv"
uv tool install nbdime # Used for jupyter notebook diffs
uv tool install dbt-core
uv tool install --editable $GIT_PROJECTS_WORKDIR/toolbelt
echo "Setting up dotfiles and toolbelt repos"
git setup $GIT_PROJECTS_WORKDIR/dotfiles
git setup $GIT_PROJECTS_WORKDIR/toolbelt
echo "Loading startup applications"
launchctl load ~/Library/LaunchAgents/com.user.docker.desktop.plist