-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
executable file
·92 lines (80 loc) · 2.04 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/bin/bash
# set current directory, in case the script is called from another directory.
cd "$(dirname "$0")" || exit
# --------------------------------------
# ------ CLEANUP EXISTING CONF ---------
# --------------------------------------
rm -rf tmux/.config/tmux/plugins
rm ~/.gitconfig
rm ~/.zprofile
# --------------------------------------
# --------- INSTALL PACKAGES ----------
# --------------------------------------
echo "🍺 Installing basic config packages with Homebrew"
brew install \
bat \
git \
node \
wezterm \
font-meslo-lg-nerd-font \
neovim \
nikitabobko/tap/aerospace \
stow \
tmux \
zsh \
eza \
zoxide \
fzf \
powerlevel10k \
zsh-autosuggestions \
zsh-syntax-highlighting \
zsh-completions
# Borders
brew tap FelixKratz/formulae
brew install borders
# --------------------------------------
# -------------- STOW -----------------
# --------------------------------------
echo "🔗 Running Stow"
stow stow
stow nvim
stow wezterm
stow zsh
stow tmux
stow git
stow aerospace
stow borders
# --------------------------------------
# -------------- ZSH ------------------
# --------------------------------------
rm -f ~/.zcompdump
compinit # zsh-completions
# --------------------------------------
# ------------- NEOVIM ----------------
# --------------------------------------
# Plugins dependencies
# telescope uses fd and ripgrep
echo "⚡ Setting up Neovim"
brew install \
fd \
lazygit \
ripgrep
# Install plugins
nvim --headless "+Lazy! sync" +qa
# --------------------------------------
# ------------- BORDERS ----------------
# --------------------------------------
brew services restart borders
# --------------------------------------
# ------------- TMUX ----------------
# --------------------------------------
tmux source "$HOME/.config/tmux/tmux.conf"
echo "✅ Sourced Tmux"
# --------------------------------------
# ------ INSTALL DEV PACKAGES ---------
# --------------------------------------
# tlrc is tldr
echo "🚀 Installing DEV packages with Homebrew"
brew install \
pnpm \
tlrc