I aim to make my dotfiles simple, minimal, and dependent only on bash.
Also see the following materials (only in Japanese).
- bashとcurlで実現する初めてのdotfiles - Qiita
- Slides (or its source: GitHub - hnishi/slides-dotfiles: 勉強会資料 )
To get started with this repository as a template of your dotfiles, you may use the tag version of minimal-template-v0 .
You can download a zip file from Release page .
The master branch includes my personal cofiguration; e.g. github user name.
- bash
- curl
curl -L raw.githubusercontent.com/hnishi/dotfiles/master/scripts/download.sh | bash
or
cd ~
git clone https://github.com/hnishi/dotfiles.git .dotfiles
cd .dotfiles/scripts
bash install.sh
For powershell,
. .\scripts\install.ps1
On Windows, script execution policy must be set to either RemoteSigned or Unrestricted. Check the script execution policy setting by executing Get-ExecutionPolicy. If the policy is not set to one of the two required values, run PowerShell as Administrator and execute
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Confirm
.
Ref: https://github.com/dahlbyk/posh-git#prerequisites
My "dotfiles" was inspired by ...