-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·65 lines (46 loc) · 1.94 KB
/
install.sh
File metadata and controls
executable file
·65 lines (46 loc) · 1.94 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
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
#!/bin/bash
sudo apt update
sudo apt install stow -y
sudo apt install zsh -y
# Install Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended
# Set zsh as the default shell
sudo chsh -s $(which zsh)
export PROFILE=~/.zshrc
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
sudo apt install tmux -y
# Install tmux plugin manager
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
# Install plugins
~/.tmux/plugins/tpm/scripts/install_plugins.sh
./install-nerd-font-symbols.sh
sudo apt install fzf -y
# Lazygit
LAZYGIT_VERSION="0.55.1"
curl -LO https://github.com/jesseduffield/lazygit/releases/download/v${LAZYGIT_VERSION}/lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz
sudo rm -rf /opt/lazygit
sudo mkdir -p /opt/lazygit
sudo tar -xzf lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz -C /opt/lazygit
rm lazygit_${LAZYGIT_VERSION}_Linux_x86_64.tar.gz
export PATH="$PATH:/opt/lazygit"
# Neovim
NEOVIM_VERSION="0.11.4"
curl -LO https://github.com/neovim/neovim/releases/download/v${NEOVIM_VERSION}/nvim-linux-x86_64.tar.gz
sudo rm -rf /opt/nvim
sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz
rm ./nvim-linux-x86_64.tar.gz
export PATH="$PATH:/opt/nvim-linux-x86_64/bin"
git clone https://github.com/Nicklason/nvim-config.git ~/.config/nvim
# nvm/node/npm/pnpm
NVM_VERSION=0.40.3
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v${NVM_VERSION}/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
nvm install --lts
nvm use --lts
curl -fsSL https://get.pnpm.io/install.sh | sh -
pnpm i -g npm-check-updates@19 prettier@3
# dotnet
curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 9.0
export PATH="$HOME/.dotnet:$PATH"