Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ndz-v/windows-dotfiles
https://github.com/ndz-v/windows-dotfiles
dotfiles dotfiles-automation dotfiles-install dotfiles-installer dotfiles-setup dotfiles-windows powershell windows
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ndz-v/windows-dotfiles
- Owner: ndz-v
- Created: 2019-05-23T09:07:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T06:31:33.000Z (over 3 years ago)
- Last Synced: 2024-05-28T03:21:49.443Z (5 months ago)
- Topics: dotfiles, dotfiles-automation, dotfiles-install, dotfiles-installer, dotfiles-setup, dotfiles-windows, powershell, windows
- Language: PowerShell
- Size: 478 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - ndz-v/windows-dotfiles - (PowerShell)
README
# Windows Dotfiles
![](/media/desktop.png)
## Installation
Copy this command into your elevated PowerShell instance and run it to download this repo and start the installation:
```ps1
Set-ExecutionPolicy RemoteSigned; `
New-Item -Path "$HOME\dev" -Type Directory; `
Invoke-WebRequest "https://github.com/nidzov/windows-dotfiles/archive/master.zip" `
-OutFile "$HOME\Downloads\windows-dotfiles.zip"; `
Get-ChildItem "$HOME\Downloads\" -Filter *.zip | Expand-Archive -DestinationPath "$HOME\dev" -Force; `
Rename-Item -NewName "windows-dotfiles" -Path "$HOME\dev\windows-dotfiles-master"; `
. "$HOME\dev\windows-dotfiles\Bootstrap.ps1"
```## Explanation of the upper command
1. `Set-ExecutionPolicy RemoteSigned`
Allows execution of PowerShell scripts. Is needed for further execution and installation.
2. `New-Item -Path "$HOME\dev" -Type Directory`
Create a dev directory in the home directory for our dotfiles to be stored. The directory name can be changed, but all occurances of the directory name have to be changed in this project.
3. `Invoke-WebRequest "https://github.com/nidzov/windows-dotfiles/archive/master.zip" -OutFile "$HOME\Downloads\windows-dotfiles.zip"`Download the repository as a zip into the Downloads directory.
4. `Get-ChildItem "$HOME\Downloads\" -Filter *.zip | Expand-Archive -DestinationPath "$HOME\dev" -Force`
Unzip to the dev directory.
5. `Rename-Item -NewName "windows-dotfiles" -Path "$HOME\dev\windows-dotfiles-master"`
Rename the unzipped folder so branch name is not in the name.
6. `& "$HOME\dev\windows-dotfiles\Bootstrap.ps1"`
Start the installation.