Yolo390 / kali-vm

My config for a Kali VM.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kali-vm

My config for a Kali VM.

Update packages.

sudo apt update && \
sudo apt upgrade -y && \
sudo apt autoremove -y && \
sudo apt autoclean -y

Create folder structure.

mkdir ~/Flo ~/Flo/Dev ~/Flo/Downloads ~/Flo/Apps ~/Flo/Dotfiles && \
rm -rf ~/Videos ~/Templates ~/Public ~/Pictures ~/Music ~/Downloads ~/Documents

Install dependencies.

sudo apt update && \
sudo apt upgrade -y && \
sudo apt install -y git zsh zsh-syntax-highlighting curl \
tree ripgrep fd-find silversearcher-ag unzip bat python3-dev \
neofetch stow zoxide python3-pip libsqlite3-dev \
libssl-dev wget poppler-utils libimage-exiftool-perl && \
sudo apt autoremove -y && \
sudo apt autoclean -y

Install OH-MY-ZSH.

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Close terminal.
Logout then login.
Open terminal.

Create needed folder and files, install custom theme ys-flo.zsh-theme and install plugins zsh-autosuggestions and zsh-syntax-highlighting.
https://github.com/Flo-Slv/Dotfiles/blob/main/oh-my-zsh/ys-flo.zsh-theme
https://github.com/zsh-users/zsh-autosuggestions/blob/master/INSTALL.md#oh-my-zsh
https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/INSTALL.md

mkdir -p ~/Flo/Dotfiles/oh-my-zsh && \
wget -P ~/.oh-my-zsh/custom/themes https://raw.githubusercontent.com/Flo-Slv/Dotfiles/main/oh-my-zsh/ys-flo.zsh-theme && \
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions && \
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
mv ~/.oh-my-zsh ~/Flo/Dotfiles/oh-my-zsh && \
cd ~/Flo/Dotfiles && \
stow -t ~/ oh-my-zsh

Remove Vim.

sudo apt remove -y vim && \
sudo apt remove -y vim-common && \
sudo apt autoremove -y && \
sudo apt autoclean -y && \
sudo rm -rf /usr/share/vim && \
sudo rm -rf /etc/vim

Install Neovim from sources.

  1. Install dependencies.
cd ~ && \
sudo apt install -y ninja-build gettext libtool libtool-bin autoconf python3-dev \
automake cmake g++ pkg-config doxygen libicu-dev libboost-all-dev libssl-dev \
ripgrep fd-find silversearcher-ag zoxide python3-pip libsqlite3-dev bat

  1. Clone Neovim repository.
git clone https://github.com/neovim/neovim ~/Flo/Apps/Neovim

  1. Compile sources.
cd ~/Flo/Apps/Neovim && \
make CMAKE_BUILD_TYPE=RelWithDebInfo && \
sudo make install

About

My config for a Kali VM.