-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·34 lines (25 loc) · 1.04 KB
/
install.sh
File metadata and controls
executable file
·34 lines (25 loc) · 1.04 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
# install tmux
sudo apt install -y tmux
mkdir -p ~/.config/nvim
# install lazygit
LAZYGIT_VERSION=$(curl -s "https://api.github.com/repos/jesseduffield/lazygit/releases/latest" | \grep -Po '"tag_name": *"v\K[^"]*')
curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz"
tar xf lazygit.tar.gz lazygit
sudo install lazygit -D -t /usr/local/bin/
# install tpm
sudo git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# setup wezterm
cp ~/dotfiles/wezterm/wezterm.lua ~/.wezterm.lua
# install nvim
sudo snap install neovim --classic
# install yadm for gitsigns
sudo apt install yadm
# copy nvim config
cp -r ~/dotfiles/nvim/ ~/.config
# setup starship
curl -sS https://starship.rs/install.sh | sh
cp ~/dotfiles/starship.toml ~/.config
# install bash autocompletions
git clone --recursive --depth 1 --shallow-submodules https://github.com/akinomyoga/ble.sh.git
make -C ble.sh install PREFIX=~/.local
echo 'source ~/.local/share/blesh/ble.sh' >> ~/.bashrc