My personal dotfiles repository. Feel free to modify for your own use.
If you intend to use this as a template for your dotfiles, and you are not me, I strongly suggest you do the following things to personalize it.
- ⭐ this repo on GitHub!
- Remove or replace the authorized_keys with your own authorized_keys. These aren't installed by the script, they only exist for manual copying.
- (Optional) Inside
install.sh
, change the git config options. - (Optional) Change any other files to your liking.
git clone https://github.com/abyss/dotfiles.git
- (Optional) On Windows, see Getting symlinks to work on Windows.
bash ./dotfiles/install.sh
Warning: this will remove your current
~/.bashrc
,~/.vim
,~/.bash_aliases
,~/.tflint.hcl
,~/.tflint.module.hcl
, and~/.gitignore
.
- (Optional) On MacOS,
brew bundle
will install the Brewfile contents.
Any existing files will be updated by a git pull
.
Creation of new files, changes to git config options, and install process may be updated by executing install.sh
again.
If you are running the install on Windows, the symlinks will not work out of the box. To fix this, you need to do two things:
- Run Git Bash as Administrator
- Set the following environment variable first:
export MSYS=winsymlinks:nativestrict
- The
~/bin
directory will be created if it does not already exist. .bash_aliases
and.bashrc
will be symlinked into your home directory..vim
will be symlinked into your home directory..tflint.hcl
will be symlinked into your home directory.linked.gitignore
will be symlinked as~/.gitignore
into your home directory.~/.system_aliases
will be created if it does not already exist. You can put system-specific aliases here that you do not want to be tracked by git.- git config global options are configured inside of
install.sh
, rather than by file. install.sh
should be able to be run multiple times with no bad side effects.- The
.ssh
directory includes an authorized_keys, but it is not managed automatically.