-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkali.sh
executable file
·39 lines (28 loc) · 1.12 KB
/
kali.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
#!/bin/bash
# install packages
sudo apt-get update
sudo apt-get install -y tmux
sudo apt-get install -y zsh
sudo apt-get install -y xclip
# install cargo
curl https://sh.rustup.rs -sSf | sh
# install ripgrep
curl -LO https://github.com/BurntSushi/ripgrep/releases/download/13.0.0/ripgrep_13.0.0_amd64.deb
sudo dpkg -i ripgrep_13.0.0_amd64.deb
# vim plug
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
# install neovim
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
mv nvim.appimage ~/
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
~/.fzf/install
# copy config files
cp ~/configuration/.bashrc ~/
sudo cp ~/configuration/etc/vim/vimrc.* /etc/vim/
mkdir -p ~/.config/nvim && cp ~/configuration/init.vim ~/.config/nvim/init.vim
cp ~/configuration/.tmux.conf ~/.tmux.conf
cp ~/configuration/.vimrc ~/.vimrc