-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathinstall.sh
69 lines (54 loc) · 1.84 KB
/
install.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
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
# Install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# ZSH
echo Setting up ZSH
cp .zprofile ~/.zprofile
source ~/.zprofile
cp .bashrc ~/.bashrc
# Setup
echo installing packages and apps
brew install git brew yt-dlp stripe/stripe-cli/stripe gnupg dopplerhq/cli/doppler docker docker-compose colima gh pinentry-mac tailscale loc
brew install --cask visual-studio-code discord warp github figma raycast btop arc gimp
git clone https://github.com/FinnDore/.files/
cd .files
# commit signing
echo "pinentry-program $(which pinentry-mac)" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent
# Vs code
mkdir -p ~/Library/Application Support/Code/User
cp .vscode/settings.json ~/Library/Application Support/Code/User/
cp .vscode/keybindings.json ~/Library/Application Support/Code/User/
# Nvim
cp -r -p nvim ~/.config/nvim
# Node
echo Installing Node
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install --lts
nvm use --lts
# Rust
echo Installing rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | ssh -s -- -y
rustup component add clippy
rustup install cargo-insta
# Starship
echo Instaling Starship
curl -sS https://starship.rs/install.sh | sh -s -- -y
mkdir -p ~/.config/
cp .starship.toml ~/.config/
# warp
mkdir -p ~/.warp/themes
cp .warp/themes/* ~/.warp/themes
# Fonts
echo Installing Fonts
cp ./fonts/* ~/Library/Fonts
# Desktop Pictures
echo Setting desktop background
sh set-desktop-picture.sh $(pwd)/backgrounds/background.png
cp -R ./emojis ~/Pictures/emojis
# Mac shit
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
cat other.md
cd ..
rm -r .files