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:
Shell
configuration, aliases, and themes. - Editor:
Vim
or 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
Debian
Linux 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
Debian
in 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-zsh
sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
-
Clone the Repository
git clone https://github.com/elhamssan/wsl-dotfiles cd wsl-dotfiles
-
Create a hard link that points to the
.zshrc
fileln $HOME/wsl-dotfiles/.zshrc .
-
Create a hard link that points to the
.vimrc
fileln $HOME/wsl-dotfiles/.vimrc .