Personal dotfiles for configuring Windows & Linux dev environments:
- For Windows:
- For Linux (Ubuntu/Debian):
To run the installation scripts:
- Latest version of Git for cloning this repo.
- For Windows, the built-in Windows PowerShell (5.1) is sufficient to execute
install.ps1
. - For Linux, an apt-based distro (e.g. Ubuntu, Debian) with bash.
From a PowerShell prompt that is run as administrator:
git clone https://github.com/leetmeister/dotfiles.git $HOME\dotfiles
& "$HOME\dotfiles\install.ps1" # [ -Force | -WhatIf | -Confirm ]
To get help:
Get-Help $HOME\dotfiles\install.ps1
git clone https://github.com/leetmeister/dotfiles.git $HOME/dotfiles
$HOME/dotfiles/install.sh # [ --no-deps | --no-zsh | --no-starship | --no-gcm ]
Update the settings.json dotfiles
properties:
{
"dotfiles.repository": "leetmeister/dotfiles",
"dotfiles.targetPath": "~/dotfiles",
"dotfiles.installCommand": "~/dotfiles/install.sh"
}
These should then be automatically synced via GitHub/Microsoft account settings sync.
No install script for MacOS but most things can be installed manually through Homebrew, bootstrapping through Terminal:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew tap homebrew/cask-fonts
brew install font-caskaydia-cove-nerd-font
brew install cask iterm2
brew install git zsh starship
That leaves configuration tasks that can be inferred from install.sh
:
- Git clone the zsh plugins into
$HOME/.zsh_plugins/
- Apply the
.gitconfig
,.zshrc
, andstarship.toml
dotfiles.- To view dotfiles in Finder, use
Cmd+Shift+.
to toggle showing.*
files.
- To view dotfiles in Finder, use
Git config the system to use GCM.- The brew formula for GCM has been deprecated.
There are also customizations to be made to iTerm:
- iTerm → Preferences → Profiles → Colors → Color Presets
- Some color schemes to use: https://iterm2colorschemes.com/
- iTerm → Preferences → Profiles → Text → Font
- Select the installed
CaskaydiaCove Nerd Font
font.
- Select the installed
These are not included in dotfiles as they are already being synced via OneDrive under:
%USERPROFILE%\OneDrive\Documents
WindowsPowerShell\Profile.ps1
PowerShell\Profile.ps1
(if PowerShell 7 is additionally installed)
The .windows_terminal/settings.json
file will need to be customized to be appropriate for which shells are installed on the target device, and is not automatically installed as part of the install.ps1 script.
The Windows Terminal settings.json file is usually under %LOCALAPPDATA%\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
and can be replaced there.
To distinguish between the various shells, custom themes can be generated via https://windowsterminalthemes.dev/ per shell.