-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnew_laptop.sh
executable file
·37 lines (31 loc) · 1.16 KB
/
new_laptop.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
#!/usr/bin/env bash
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install apps
brew install autojump
brew install bruno
brew install gh
brew install glab
brew install jq
brew install markdown
brew install neovim
brew install remotemobprogramming/brew/mob
brew install the_silver_searcher
brew install tree
brew install --cask firefox
brew install --cask spotify
brew install --cask visual-studio-code
# Install VimPlug
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
# Install oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
# Symlink dotfiles
# TODO: Could replace this with version controlling entire home directory, or a bare repo, or gnu stow
ln -s ~/dotfiles/zshrc ~/.zshrc
ln -s ~/dotfiles/vimrc ~/.vimrc
mkdir -p ~/.config/nvim
ln -s ~/dotfiles/nvim/init.vim ~/.config/nvim/init.vim
ln -s ~/dotfiles/gitconfig ~/.gitconfig