]> apps.delaporte.us Git - dotfiles.git/blob - README.md
Get VSCode plugins
[dotfiles.git] / README.md
1 # dotfiles
2
3 EdTheDev's Linux and Windows dot files.
4 These are shared so that I can easily share a link to a tip or trick.
5
6 ## Getting Started - Windows
7
8 > Note: Bookmark this guide. You're going to reboot at least a few times.
9
10 Optional - change host name
11 ```
12 Rename-Computer -NewName FOOOOOOO -Restart
13 ```
14
15 1. [Install chocolatey](https://chocolatey.org/install)
16
17 2. Tell `choco` to watch for reboots, as this is Windows.
18 ```
19 choco feature enable -name=exitOnRebootDetected
20 ```
21
22 3. Install a decent terminal. This invokes a bunch of KBs.
23 ```powershell
24 choco install microsoft-windows-terminal # reboot after
25 ```
26
27 3. Set dark theme (non-admin prompt)
28 ```
29 Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0
30 ```
31
32 4. Reboot after first setup - you may see errors in `choco` commands otherwise.
33 5. Set the PC time zone correctly - otherwise expect an install error in later `choco` commands.
34
35 4. More packages
36 ```
37 choco install git
38 choco install vscode
39 choco install powertoys # reboot after
40 ```
41
42 ```
43 git clone https://github.com/edthedev/dotfiles.git
44 cd dotfiles
45 code .
46 ```
47
48 Admin prompt:
49 ```
50 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
51 ```
52
53 Install VSCode plugins:
54 ```
55 .\setup\code-plugins.ps1
56 ```
57
58 Set git username.
59 ```
60 git config --global user.email "edward@delaporte.us"
61 git config --global user.name "Edward Delaporte"
62 ```
63
64 ## Getting Started - Raspberyy Pi
65
66 ### Get Online
67
68 ```sh
69 rasppi-config
70 ```
71
72 + Set up wireless
73 + Set keyboard location
74
75 ### Clone this repository
76
77 ```sh
78 sudo apt-get install git
79 git clone https://github.com/edthedev/dotfiles.git
80 ```
81
82 ### Create a new user
83
84 ```sh
85 sudo useradd bob -m -G sudo
86 sudo passwd bob
87 sudo passwd pi
88 ```
89
90 ### Boostrap CLI
91
92 ```
93 sudo ./install_cli_basics.sh
94 ```
95
96 ## Installations
97
98 See the `\install` folder for scripts to install various handy utilities. Most of these rely on `Apt` on Linux, or `Chocolatey` on Windows.
99
100 ## Setups
101
102 See the `\setup` folder for configurations.
103 These are, obviously, just my preferred configurations.
104
105 In general, these work by setting up symlinks on Linux, and on Windows by copying a stub file that sources the versioned file.
106
107 Most of these are cross platform `.ps1` files that run under PowerShell.
108
109 ## Further Reading
110
111 See `i3.md` for info on setting up the I3 window manager.