-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·43 lines (36 loc) · 1.12 KB
/
setup.sh
File metadata and controls
executable file
·43 lines (36 loc) · 1.12 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
DOTFILES=$HOME/.dotfiles
ln -sf "$DOTFILES/.colordiffrc" "$HOME/."
ln -sf "$DOTFILES/.curlrc" "$HOME/."
ln -sf "$DOTFILES/.dir_colors" "$HOME/."
ln -sf "$DOTFILES/.gitconfig" "$HOME/."
ln -sf "$DOTFILES/.gitignore" "$HOME/."
ln -sf "$DOTFILES/.hgrc" "$HOME/."
ln -sf "$DOTFILES/.inputrc" "$HOME/."
ln -sf "$DOTFILES/.riplrc" "$HOME/."
ln -sf "$DOTFILES/.tmux.conf" "$HOME/."
ln -sf "$DOTFILES/.zshenv" "$HOME/."
ln -sf "$DOTFILES/.zshrc" "$HOME/."
ln -sf "$DOTFILES/.zsh_plugins.zsh" "$HOME/."
ln -sf "$DOTFILES/.psqlrc" "$HOME/."
if [ ! -d "$HOME/.config/nvim" ]; then
ln -sf "$DOTFILES/nvim/" "$HOME/.config/nvim"
fi
sudo apt install tmux zsh shellcheck
sudo snap install --classic nvim
if ! which rustup; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install fre
cargo install difft
fi
rustup update stable
if ! which tree-sitter; then
cargo install --locked tree-sitter-cli
fi
if [ ! -d ~/.tmux/plugins/tpm ]; then
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
fi
if [ "$SHELL" != "/usr/bin/zsh" ]; then
chsh -s /usr/bin/zsh
fi
brew install antidote
pip3 install neovim