https://github.com/dethada/windots
Dotfiles for windows
https://github.com/dethada/windots
Last synced: 9 months ago
JSON representation
Dotfiles for windows
- Host: GitHub
- URL: https://github.com/dethada/windots
- Owner: Dethada
- Created: 2025-02-08T05:42:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-11T13:32:08.000Z (over 1 year ago)
- Last Synced: 2025-08-30T05:47:45.395Z (10 months ago)
- Language: Lua
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Windots
Share the `USERPROFILE` env varible with WSL.
> Note if you are using wezterm, this [will be overwritten by wezterm](https://wezterm.org/config/lua/config/term.html), currently I just set USERPROFILE mannually in my shell config as a work around.
```powershell
setx WSLENV "USERPROFILE/p"
```
Clone this repo
```bash
git clone --bare https://github.com/Dethada/windots.git $USERPROFILE/.dotfiles
```
If using wezterm
```bash
export USERPROFILE='/mnt/c/'
```
Add the following to your `.zshrc` or your respective shell config and source it.
```bash
alias windots='/usr/bin/git --git-dir=$USERPROFILE/.dotfiles/ --work-tree=$USERPROFILE'
```
Checkout the files
```bash
# ignore untracked files
windots config --local status.showUntrackedFiles no
windots checkout
```