-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartup.sh
More file actions
executable file
·33 lines (30 loc) · 1.04 KB
/
startup.sh
File metadata and controls
executable file
·33 lines (30 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
#!/bin/bash
# create symlinks
ln -s "${PWD}/bashrc" "${HOME}/.bashrc"
ln -s "${PWD}/kitty" "${HOME}/.config/"
ln -s "${PWD}/matplotlib" "${HOME}/.config/"
ln -s "${PWD}/clangd" "${HOME}/.config/"
ln -s "${PWD}/gdbinity" "${HOME}/.config/"
# Clone personal neovim config
cd "${HOME}/.config" || exit
git clone https://github.com/srbhp/nvim
# echo "Downloading Kitty"
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
#
echo "Downloading Nerd fonts"
wget "https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/FiraMono.zip" -O ~/Downloads/FiraMono.zip
mkdir ~/.fonts
unzip ~/Downloads/FiraMono.zip -d ~/.fonts
rm ~/Downloads/FiraMono.zip
echo "Installing Nerd fonts"
fc-cache -fv
# instal bash-language-server luals vim-language-server
sudo npm install -g bash-language-server
sudo npm install -g vim-language-server
# # install lua_ls
mkdir -p ~/software/
cd ~/software/ || exit
git clone https://github.com/LuaLS/lua-language-server
cd lua-language-server || exit
./make.sh
ln -s "${PWD}/bin/lua-language-server" "$HOME/.local/bin/"