Skip to content

๐Ÿฟ๏ธ Risu's dotfiles bonsai ๐ŸŒณ for Windows 11 ๐ŸชŸ and WSL 2 ๐Ÿง

License

Notifications You must be signed in to change notification settings

risu729/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿฟ Risu's dotfiles

โญ Description

These dotfiles are used to configure my environment, mainly Windows 11 and WSL2 (Ubuntu).

Since I use WSL2 as my main development environment, I only install GUI applications on Windows, such as browsers, IDEs, etc.

โš™๏ธ Installation

๐ŸชŸ Windows 11

Important

Set up Windows 11 without a Microsoft account to avoid the automatic installation of OneDrive.

  1. Press Shift + F10 on the startup screen (do not connect to the internet).

  2. Run the following command in Command Prompt:

    start ms-cxh:localonly
  3. Continue the setup without a Microsoft account by selecting I don't have internet.

  1. Update Windows 11 to the latest version.
  2. Uninstall OneDrive.
  3. In Windows Terminal (PowerShell, Windows PowerShell, or Command Prompt), run the following command.
powershell -c "irm dot.risunosu.com/win | iex"

๐Ÿง WSL2

The Windows installer script will install dotfiles in WSL2, so you don't need to run the installer script again.

However, if you want to install dotfiles to WSL2 onlyโ€”such as when you reset WSL2โ€”you can run the following command in bash:

bash -i <(curl -fsSL https://dot.risunosu.com/wsl)

Important

Use process substitution (<()) instead of piping (|) for interactive scripts.

Tip

Both installer scripts are idempotent, meaning you can run them multiple times without issues.

โžก๏ธ What to do next

  1. Uninstall unnecessary software pre-installed by Windows 11.

  2. Restore PowerToys settings. See docs.

  3. Install the following software on Windows, which the script does not install:

  • Lenovo Vantage (Cannot be installed via winget.)

  • Minecraft Launcher (Cannot be installed via winget.)

  • LINE (Cannot be installed via winget.)

  • X (PWA apps cannot be installed using the script.)

๐Ÿ› ๏ธ Development

โš™๏ธ Setup

Prerequisites: mise

Clone this repository and run the following command:

mise i

๐Ÿงต Lint and Format

The following command will lint and format the code, including auto-fixes:

mise check

โœ๏ธ Commit

The following command will commit changes interactively:

mise commit

๐Ÿ“œ License

MIT

About

๐Ÿฟ๏ธ Risu's dotfiles bonsai ๐ŸŒณ for Windows 11 ๐ŸชŸ and WSL 2 ๐Ÿง

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •