dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

Magical objects that make certain computers extremely use-able for me.

pradyunsg's Dotfiles

Magical objects that make certain computers extremely use-able for me.

Installation | Customization | License | Contributing | Acknowledgements

Screenshot of my terminal set-up as on 2020-08-11

Installation

  • Run scripts/bootstrap
  • Run scripts/setup

How stuff is organised

This uses the topical layout from @holman's dotfiles. The actual mechanism for handling files is completely different, however.

Git

You need to configure your name, email and signingKey in a ~/.gitconfig.local file.

[user]
	name = "Pradyun Gedam"
	email = "[email protected]"
	signingKey = "..."

Additional repositories

scripts/setup uses a ~/.dotfiles.toml file for determining what files need to be brought over. This is generated in scripts/bootstrap, if you really want to have fun.

You can add an additional repository by name, by adding another entry to the [repositories] table in the ~/.dotfiles.toml file.

work = "/Users/pradyunsg/work-dotfiles"

Resolving conflicts between repositories

If two repositories provide the same dotfile, you can set up an override using the [[conflicts]] array of tables.

[[conflicts]]
file = ".bashrc"
use = "work"

[[conflicts]]
file = ".zshrc"
use = "personal"

License

The contents of this repository are licensed under the GPL v3 license.