Skip to content

deybhayden/dotfiles

Repository files navigation

Dotfiles

Linux Dotfiles — supports WSL (Ubuntu) and Arch Linux.

To link these files, I recommend using stow.

WSL (Ubuntu)

Install

# set up WSL (Ubuntu) and then in the Ubuntu shell
mkdir ~/Repos
cd ~/Repos
sudo apt -y install git
git clone https://github.com/deybhayden/dotfiles.git
cd dotfiles
cp .gitconfig ~
cp .zprofile ~
.local/bin/wsly.sh

WSL2 Config

In order to have network traffic mirrored on WSL2 (you can access localhost seamlessly across both systems), you'll want the following in your $HOME/.wslconfig

[wsl2]
networkingMode=mirrored

If you changed that, restart wsl with wsl --shutdown and open a new wsl terminal and you should be good.

Arch Linux

Install

# from a fresh Arch install with a non-root user
mkdir ~/Repos
cd ~/Repos
sudo pacman -S --needed --noconfirm git
git clone https://github.com/deybhayden/dotfiles.git
cd dotfiles
cp .gitconfig ~
cp .zprofile ~
.local/bin/archie.sh

Note: archie.sh must be run as your normal user (not root). It calls sudo internally where needed and installs yay as an AUR helper for packages not in the official repos.

About

zsh 'n stuff

Topics

Resources

Stars

Watchers

Forks

Contributors