Install / update:
curl -L https://github.com/andre487/dotfiles/raw/master/setup.sh | bash- PowerShell 5.1+; no administrator rights required.
- Copies
.editorconfig,.gitconfig,.vimrcand the current shell's PowerShell profile; backs up changed files. - Run setup in each shell you use (Windows PowerShell / PowerShell 7).
- Profile: Vim editor, user PATH directories, fnm if installed; local settings in
~/.powershell-profile.extra.ps1. - Prompt: green/red arrow for command success/failure and current directory, like zsh's
robbyrussellwithout Git. - Up/Down arrows search history by the typed prefix (PSReadLine).
Install / update without changing ExecutionPolicy:
irm https://raw.githubusercontent.com/andre487/dotfiles/master/setup.ps1 | iexFrom a local checkout:
& ([scriptblock]::Create((Get-Content -Raw .\setup.ps1))) -SourceDirectory $PWD.PathEnable automatic profile loading, then restart PowerShell (organization policies may override):
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned- Git and Vim must be installed separately; run
:PluginInstallin Vim. - Existing
_vimrctakes precedence over.vimrcon Windows. .gitconfigcontains Andrey's name/email; LFS repositories require Git LFS.