ssh-keygen -t ed25519 -C "unique name to identify this key."
sudo apt update -y && sudo apt upgrade -y
sudo apt install curl fontconfig git zsh keychain gcc make java-21-openjdk gnome-terminal
mkdir -p ~/.fonts && cd ~/.fonts || return
curl -LO https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf
curl -LO https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf
curl -LO https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf
curl -LO https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf
fc-cache -f -v
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" -y
Restart your terminal emulator then change the font in your terminal to Meslo LGS NF
Use chsh
and select zsh. You may need to log out and in to your desktop environment for this to take effect.
In your bashrc, you can edit your PATH, or run this command:
export PATH=$HOME/bin:$PATH
If you installed oh-my-zsh, you can do the following instead:
sed -zi 's|# If you come from bash you might have to change your $PATH.|# If you come from bash you might have to change your $PATH.\nexport PATH=$HOME/bin:$PATH|g' ~/.zshrc
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git "${ZSH_CUSTOM:-${HOME}/.oh-my-zsh/custom}/themes/powerlevel10k"
sed -zi 's|ZSH_THEME="robbyrussell"|ZSH_THEME="powerlevel10k/powerlevel10k"|g' ~/.zshrc
sed -zi 's|plugins=(git)|plugins=(git zsh-autosuggestions zsh-syntax-highlighting keychain)\nzstyle :omz:plugins:keychain agents ssh\nzstyle :omz:plugins:keychain identities id_ed25519\nzstyle :omz:plugins:keychain options --quiet|g' ~/.zshrc
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
sudo apt-get install kali-linux-full
sudo apt install -y kali-win-kex
Inside of Kali WSL: kex --win -s
On Window’s command prompt: wsl -d kali-linux kex --win -s