-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate.sh
executable file
·34 lines (31 loc) · 1.05 KB
/
update.sh
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
#!/usr/bin/bash
echo "Updating packages list..."
echo "brew"
brew tap > packages/brew.txt
brew leaves >> packages/brew.txt
brew list --cask >> packages/brew.txt
echo "npm"
npm list -g --depth=0 > packages/npm.txt
echo "uv tools (Python)"
uv tool list > packages/uv_tools.txt
echo "
Copying global .gitignore ..."
cp ~/.gitignore dotfiles/.gitignore
echo "Copying global .gitconfig ..."
cp ~/.gitconfig dotfiles/.gitconfig
echo "Copying Zed settings ..."
cp ~/.config/zed/settings.json dotfiles/zed.settings.json
echo "Copying Ghostty settings ..."
cp ~/Library/Application\ Support/com.mitchellh.ghostty/config dotfiles/ghostty
echo "Copying global .zshrc ..."
cp ~/.zshrc dotfiles/.zshrc
echo "Copying global .zprofile ..."
cp ~/.zprofile dotfiles/.zprofile
echo "Copying docker config.json ..."
cp ~/.docker/config.json dotfiles/docker.config.json
echo "Copying vale styles ..."
cp -R ~/styles packages/styles
echo "Copying vale global config ..."
cp ~/.vale.ini dotfiles/.vale.ini
echo "Copying global .starship.toml ..."
cp ~/.config/starship.toml dotfiles/.starship.toml