Skip to content

Configuration files for my Debian system operating within Windows Subsystem for Linux.

Notifications You must be signed in to change notification settings

htmou/wsl-dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Debian dotfiles For WSL

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.

WSL Installation

Enable the necessary components on your Windows system to run Linux distributions within WSL.

  • Install the Debian Linux distribution

    wsl --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.

Basic Configuration

Here's a basic configuration guide for Debian after the installation:

  1. Update package lists

    sudo apt update -y
  2. Upgrade installed packages

    sudo apt upgrade -y
  3. Install essential packages

    sudo apt install git wget ca-certificates zsh vim man-db -y
  4. Install specific packages

    sudo apt install gcc g++ python3 python3-pip default-jdk neofetch tree -y
  5. Install oh-my-zsh

    sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"

Usage

  1. Clone the Repository

    git clone https://github.com/elhamssan/wsl-dotfiles
    cd wsl-dotfiles
  2. Create a hard link that points to the .zshrc file

    ln $HOME/wsl-dotfiles/.zshrc .
  3. Create a hard link that points to the .vimrc file

    ln $HOME/wsl-dotfiles/.vimrc .

About

Configuration files for my Debian system operating within Windows Subsystem for Linux.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published