-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup_linux.sh
More file actions
executable file
·63 lines (52 loc) · 1.32 KB
/
setup_linux.sh
File metadata and controls
executable file
·63 lines (52 loc) · 1.32 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
#!/bin/bash
set -o errexit
set -o errtrace
set -o nounset
set -o pipefail
sudo apt update
sudo apt install zsh keychain ripgrep fzf git ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip curl golang htop man tmux wget -y
cd ~/.dotfiles
./link.sh
sudo chown -R andre:andre /usr/local/
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
sudo chsh andre -s /usr/bin/zsh
sudo apt upgrade -y
sudo chown -R andre:andre /usr/local/
# Neovim
mkdir -p ~/code
git clone git@github.com:neovim/neovim.git ~/code/neovim
cd ~/code/neovim
git co v0.9.5
cat <<EOF > go.sh
#!/bin/bash
git fetch --tags --force && git checkout stable
make clean
sudo make distclean
make CMAKE_BUILD_TYPE=Release -j4
sudo make install
EOF
chmod +x go.sh
./go.sh
# Lazygit
cd ~/code
git clone git@github.com:apazzolini/lazygit.git
cd lazygit
go install
go build
mv lazygit /usr/local/bin/
# Node
curl -fsSL https://raw.githubusercontent.com/tj/n/master/bin/n | bash -s lts
npm install -g n
# Rust
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# Tailwind
cd ~/code
git clone https://github.com/apazzolini/tailwindcss-intellisense.git
cd tailwindcss-intellisense
npm i
cd packages/tailwindcss-language-server
npm run build
npm i -g $(pwd)
# misc
go install golang.org/x/tools/cmd/goimports@latest
echo "INSTALL GIT-DELTA"