https://github.com/kingyue737/dotfiles
https://github.com/kingyue737/dotfiles
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kingyue737/dotfiles
- Owner: kingyue737
- Created: 2022-12-27T06:03:36.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-06-24T06:48:10.000Z (4 months ago)
- Last Synced: 2025-06-24T07:34:08.498Z (4 months ago)
- Language: PowerShell
- Size: 71.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# KingYue's dotfiles
[](https://gitmoji.dev)
```pwsh
winget import -i .\winget.json
```Open the newly installed PowerShell v7. Then
```pwsh
sudo pwsh .\setup.ps1
```> Enable Windows Developer Mode can avoid using sudo in many scenarios
## VSCode proxy
Add `--proxy-server="http://127.0.0.1:7890"` for VSCode shortcut
https://code.visualstudio.com/docs/setup/network#_proxy-server-support```pwsh
.\vscode-proxy.ps1
```## NeoVim
Install im-select to guarantee that im-select.nvim works properly
```sh
.\install-im-select.ps1
```## Oh My Posh
> https://ohmyposh.dev/docs/installation/fonts
Install a Nerd font
```sh
oh-my-posh font install
```It seems that CaskaydiaCove NF or Cascadia Code (MS) suits best.
> Make sure that the icons in `omp.json` match the latest Nerd Font.
## Setup a New PC
1. Generate SSH key and add to GitHub/GitLab
2. Install Git and clone dotfiles
3. Install other apps via winget
4. Run setup scripts
5. Sync VSCode extensions
6. Upgrade to Windows Pro
- Switch to English
- Enable sandbox
7. Uninstall useless built-in app like PC manager
8. Merge C: and D: drives if possible
9. Log in Feilian
10. Install LAN message app like NWT
11. Setup docker config manually to make it work with proxy
12. Link email accounts## Mirrors
Configuring or updating mirrors, please refer to guides of [Tsinghua Tuna Mirror](https://mirror.tuna.tsinghua.edu.cn/help/AOSP/).
## Others
Due to https://github.com/pnpm/pnpm/issues/7293, you may need to set the path of pnpm manually:
```
~\AppData\Local\Microsoft\WinGet\Packages\pnpm.pnpm_Microsoft.Winget.Source_8wekyb3d8bbwe
```