Skip to main content

Easily manage your dotfiles

Project description

dotfiles is a tool to make managing your dotfile symlinks in $HOME easy, allowing you to keep all your dotfiles in a single directory.

Hosting is left to you. Yes, I’ve seen http://dotfiles.org but I don’t like that model. If you’re advanced enough to need dotfile management, then you probably already know how you want to host them. Using whatever VCS you prefer, or even rsync, you can easily distribute your dotfiles repository across multiple hosts.

Installation

To install dotfiles, simply:

$ pip install dotfiles

Or, if you absolutely must:

$ easy_install dotfiles

But, you really shouldn’t do that.

If you want to work with the latest version, you can install it from the repository:

$ git clone https://github.com/jbernard/dotfiles
$ cd dotfiles
$ ./bin/dotfiles --help

Examples

To install your dotfiles on a new machine, you might do this:

$ git clone https://github.com/me/my-dotfiles Dotfiles
$ dotfiles --sync

To add ‘~/.vimrc’ to your repository:

$ dotfiles --add ~/.vimrc     (relative paths work also)

To make it available to all your hosts:

$ cd ~/Dotfiles
$ git add vimrc
$ git commit -m "Added vimrc, welcome aboard!"
$ git push

You get the idea.

Configuration

You can choose to create a configuration file to store personal customizations. By default, dotfiles will look in ~/.dotfilesrc. An example configuration file might look like:

[dotfiles]
repository = ~/Dotfiles
ignore = [
    '.git',
    '.gitignore']
externals = {
    '.bzr.log':     '/dev/null',
    '.uml':         '/tmp'}

License

GPL License.

Copyright (C) 2011  Jon Bernard

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Contribute

If you’d like to contribute, simply fork the repository, commit your changes and send a pull request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dotfiles-0.2.0.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file dotfiles-0.2.0.tar.gz.

File metadata

  • Download URL: dotfiles-0.2.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dotfiles-0.2.0.tar.gz
Algorithm Hash digest
SHA256 99c1d654cffe359a0a5ccd866634437951d159fc58e092a9f8743c423fde153b
MD5 30cab4769efd903811a4468216f39d4f
BLAKE2b-256 d5bec1cf9e84a3ea5ed7513c938635d5bb5da5e52951de6d0d1c8bcaac5df4f7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page