-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·48 lines (39 loc) · 1.26 KB
/
setup.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
#!/bin/bash
################################################################ NVIM
# clean the existing neovim configuration
sudo apt purge neovim -y
sudo apt update
sudo apt install software-properties-common -y
# install neovim
wget https://github.com/neovim/neovim/releases/download/v0.10.0/nvim.appimage
chmod +x nvim.appimage
sudo mv nvim.appimage /usr/local/bin/nvim
sudo apt install silversearcher-ag ripgrep -y
# neovim setting
mkdir -p /home/dev/.config/nvim
rm -rf /home/dev/.config/nvim
git clone git@github.com:jjshoots/nvim_dotfiles.git /home/dev/.config/nvim
# install neovim library
pip install -U neovim
# install doq for vim/pydocstring
pip install -U doq
################################################################ FISH
# install fish and some other utils
sudo apt install fish -y
sudo apt install trash-cli -y
sudo apt install bat -y
sudo apt install fzf -y
# download exa
mkdir -p exa
cd exa
wget https://github.com/ogham/exa/releases/download/v0.10.1/exa-linux-x86_64-v0.10.1.zip
unzip exa-linux-x86_64-v0.10.1.zip
sudo mv ./bin/exa /usr/local/bin
cd ..
rm -rf exa
# download fish
mkdir -p ~/.config/fish
rm -rf ~/.config/fish
git clone git@github.com:jjshoots/fish_dotfiles.git ~/.config/fish
echo "fish" >> ~/.bashrc
echo "export PS4_ADDR=192.168.11.95"