All Projects → jayharris → Dotfiles Windows

jayharris / Dotfiles Windows

Licence: mit
dotfiles for Windows, including Developer-minded system defaults. Built in PowerShell

Programming Languages

powershell
5483 projects

Projects that are alternatives of or similar to Dotfiles Windows

dotfiles
Configs for apps I care about
Stars: ✭ 19 (-93.4%)
Mutual labels:  dotfiles
Dotfiles
My dotfiles
Stars: ✭ 258 (-10.42%)
Mutual labels:  dotfiles
Dotfiles
My config files
Stars: ✭ 276 (-4.17%)
Mutual labels:  dotfiles
dotfiles
My arch setup script and dotfiles
Stars: ✭ 37 (-87.15%)
Mutual labels:  dotfiles
dotfiles
My dot files
Stars: ✭ 25 (-91.32%)
Mutual labels:  dotfiles
Dotfiles
dotfiles for vim, git, zsh, cwm, xinit, and many others. Install with: lndir -silent /path/to/dotfiles $HOME
Stars: ✭ 263 (-8.68%)
Mutual labels:  dotfiles
dotneovim
My NeoVIM configuration
Stars: ✭ 15 (-94.79%)
Mutual labels:  dotfiles
Dotfiles
My configuration. Minimalist, but helps save a few thousand keystrokes a day.
Stars: ✭ 284 (-1.39%)
Mutual labels:  dotfiles
Emacs.d
My Emacs configuration, literately 😄
Stars: ✭ 254 (-11.81%)
Mutual labels:  dotfiles
Dotfiles
⚙ Dotfiles for Linux &macOS
Stars: ✭ 275 (-4.51%)
Mutual labels:  dotfiles
zshrc
📝 Zsh Configuration for nerds with zplug
Stars: ✭ 28 (-90.28%)
Mutual labels:  dotfiles
rEFInd-glassy
A minimalistic rEFInd theme
Stars: ✭ 46 (-84.03%)
Mutual labels:  dotfiles
Mac Setup
🛠️ Front end web development setup for macOS.
Stars: ✭ 265 (-7.99%)
Mutual labels:  dotfiles
dotfiles
~/.* with ♥
Stars: ✭ 20 (-93.06%)
Mutual labels:  dotfiles
Dotfiles
●📄 Ryan McGeary's configuration shiznit that makes him productive
Stars: ✭ 278 (-3.47%)
Mutual labels:  dotfiles
dotfiles
NixOS/home-manager setup with i3,kitty, qutebrowser and cli based vim-like programs
Stars: ✭ 23 (-92.01%)
Mutual labels:  dotfiles
Dotfiles
Installing
Stars: ✭ 2,948 (+923.61%)
Mutual labels:  dotfiles
Dotfiles
My Dotfiles
Stars: ✭ 289 (+0.35%)
Mutual labels:  dotfiles
Rogue
Personal Emacs config
Stars: ✭ 286 (-0.69%)
Mutual labels:  dotfiles
.dotfiles
There's no place like ~ !
Stars: ✭ 265 (-7.99%)
Mutual labels:  dotfiles

Jay Harris's dotfiles for Windows

A collection of PowerShell files for Windows, including common application installation through Chocolatey and npm, and developer-minded Windows configuration defaults.

Are you a Mac user? Check out my dotfiles repository.

Installation

Using Git and the bootstrap script

You can clone the repository wherever you want. (I like to keep it in ~\Projects\dotfiles-windows.) The bootstrapper script will copy the files to your PowerShell Profile folder.

From PowerShell:

git clone https://github.com/jayharris/dotfiles-windows.git; cd dotfiles-windows; . .\bootstrap.ps1

To update your settings, cd into your local dotfiles-windows repository within PowerShell and then:

. .\bootstrap.ps1

Note: You must have your execution policy set to unrestricted (or at least in bypass) for this to work: Set-ExecutionPolicy Unrestricted.

Git-free install

Note: You must have your execution policy set to unrestricted (or at least in bypass) for this to work. To set this, run Set-ExecutionPolicy Unrestricted from a PowerShell running as Administrator.

To install these dotfiles from PowerShell without Git:

iex ((new-object net.webclient).DownloadString('https://raw.github.com/jayharris/dotfiles-windows/master/setup/install.ps1'))

To update later on, just run that command again.

Add custom commands without creating a new fork

If .\extra.ps1 exists, it will be sourced along with the other files. You can use this to add a few custom commands without the need to fork this entire repository, or to add commands you don't want to commit to a public repository.

My .\extra.ps1 looks something like this:

# Hg credentials
# Not in the repository, to prevent people from accidentally committing under my name
Set-Environment "EMAIL" "Jay Harris <[email protected]>"

# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
Set-Environment "GIT_AUTHOR_NAME" "Jay Harris","User"
Set-Environment "GIT_COMMITTER_NAME" $env:GIT_AUTHOR_NAME
git config --global user.name $env:GIT_AUTHOR_NAME
Set-Environment "GIT_AUTHOR_EMAIL" "[email protected]"
Set-Environment "GIT_COMMITTER_EMAIL" $env:GIT_AUTHOR_EMAIL
git config --global user.email $env:GIT_AUTHOR_EMAIL

Extras is designed to augment the existing settings and configuration. You could also use ./extra.ps1 to override settings, functions and aliases from my dotfiles repository, but it is probably better to fork this repository.

Sensible Windows defaults

When setting up a new Windows PC, you may want to set some Windows defaults and features, such as showing hidden files in Windows Explorer and installing IIS. This will also set your machine name and full user name, so you may want to modify this file before executing.

.\windows.ps1

Install dependencies and packages

When setting up a new Windows box, you may want to install some common packages, utilities, and dependencies. These could include node.js packages via NPM, Chocolatey packages, Windows Features and Tools via Web Platform Installer, and Visual Studio Extensions from the Visual Studio Gallery.

.\deps.ps1

The scripts will install Chocolatey, node.js, and WebPI if necessary.

Visual Studio Extensions
Extensions will be installed into your most current version of Visual Studio. You can also install additional plugins at any time via Install-VSExtension $url. The Url can be found on the gallery; it's the extension's Download link url.

Forking your own version

This repository is built around how I use Windows, which is predominantly in a VM hosted on OS X. As such, things like VNC, FileZilla, or Skype are not installed, as they are available to me on the OS X side, installed by my OS X dotfiles. If you are using Windows as your primary OS, you may want a different configuration that reflects that, and I recommend you fork this repository.

If you do fork for your own custom configuration, you will need to touch a few files to reference your own repository, instead of mine.

Within /setup/install.ps1, modify the Repository variables.

$account = "jayharris"
$repo    = "dotfiles-windows"
$branch  = "master"

Within the Windows Defaults file, /windows.ps1, modify the Machine name on the first line.

(Get-WmiObject Win32_ComputerSystem).Rename("MyMachineName") | Out-Null

Finally, be sure to reference your own repository in the git-free installation command.

iex ((new-object net.webclient).DownloadString('https://raw.github.com/$account/$repo/$branch/setup/install.ps1'))

Feedback

Suggestions/improvements are welcome and encouraged!

Author

twitter/jayharris
Jay Harris

Thanks to…

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].