Skip to content

Dethada/windots

Repository files navigation

Windots

Share the USERPROFILE env varible with WSL.

Note if you are using wezterm, this will be overwritten by wezterm, currently I just set USERPROFILE mannually in my shell config as a work around.

setx WSLENV "USERPROFILE/p"

Clone this repo

git clone --bare https://github.com/Dethada/windots.git $USERPROFILE/.dotfiles

If using wezterm

export USERPROFILE='/mnt/c/<user>'

Add the following to your .zshrc or your respective shell config and source it.

alias windots='/usr/bin/git --git-dir=$USERPROFILE/.dotfiles/ --work-tree=$USERPROFILE'

Checkout the files

# ignore untracked files
windots config --local status.showUntrackedFiles no

windots checkout

About

Dotfiles for windows

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages