This repository contains my personal dotfiles for Debian installed within Windows Subsystem for Linux (WSL). These dotfiles configure various aspects of the user environment, including:
- Terminal:
Shellconfiguration, aliases, and themes. - Editor:
Vimor other editor settings. - Other tools: Configuration for utilities and applications.
Enable the necessary components on your Windows system to run Linux distributions within WSL.
-
Install the
DebianLinux distributionwsl --install -d Debian
-
Switch to your WSL environment from PowerShell
wsl
This will launch the default WSL distribution in a new terminal window, which is
Debianin this case.
Here's a basic configuration guide for Debian after the installation:
-
Update package lists
sudo apt update -y
-
Upgrade installed packages
sudo apt upgrade -y
-
Install essential packages
sudo apt install git wget ca-certificates zsh vim man-db -y
-
Install specific packages
sudo apt install gcc g++ python3 python3-pip default-jdk neofetch tree -y
-
Install
oh-my-zshsh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
-
Clone the Repository
git clone https://github.com/htmou/wsl-dotfiles cd wsl-dotfiles -
Create a hard link that points to the
.zshrcfileln $HOME/wsl-dotfiles/.zshrc .
-
Create a hard link that points to the
.vimrcfileln $HOME/wsl-dotfiles/.vimrc .