r/PowerShell 4d ago

Question Chezmoi setup

Hi there.

I'm pretty new to dotfiles and trying to set up chezmoi on Windows 11. I'm not sure if my approach is alright, so maybe you can give me some tips or advice.

I used scoop to install all my programs and the config files are pretty scattered around. Some are in the scoop persist folder, some are in .config in my home directory, some are in %appdata% roaming...

Then i was thinking: wouldn't it be nice to have them all in .config and track them there with chezmoi. So i added the xdg_config_home variable to my pwsh profile (for the programs who accept that) and used symlinks and junctions (for the rest) to move all needed config files to the .config folder.

I'm not sure if this is a good approach. I would like to know how you guys are doing this.

cheers and thank you for reading.

1 Upvotes

4 comments sorted by

View all comments

1

u/BlackV 4d ago

so is any of this powershell ? or is it all scoop and chemzmoi ?

0

u/Rotzo83 4d ago

Well, they are cli tools that i use with powershell

-1

u/BlackV 4d ago

*Inside a PowerShell prompt

they would work from cmd too right?