Yet another dotfile-repository
Emacs Lisp Vim script Lua Perl Shell
Switch branches/tags
Nothing to show
Latest commit b6db44a Feb 21, 2017 @skx Renamed this file.
Permalink
Failed to load latest commit information.
.bash
.config/autostart
.emacs.d
.gnupg
.lumail.d
.lumail2
.sigs
.ssh
.vim
bin
.bash_logout
.bash_profile
.bashrc
.gitconfig
.gitignore
.hgrc
.inputrc
.kpie.lua
.my.cnf
.perltidyrc
.screenrc
.tmux.conf
.vimrc
.worklog.conf
.xbindkeysrc
README.md

README.md

dotfiles

Yet another dotfile-repository of shell files, and similar.

Using The Repository

This repository was created as a "bare" repository, so that it can track files in my home directory. Because of this the checkout process is a little different than usual.

Here is my recipe for deployment on a new host:

Step one: checkout the repository:

If you wish to get read-only access, and you're never going to push updates:

 git clone --bare git://github.com/skx/dotfiles.git ~/dotfiles.git

If you have permission you can pull the repository, and gain access to push it:

 git clone --bare git@github.com:skx/dotfiles.git ~/dotfiles.git

Step two: setup a sane alias

 alias .DOTFILES="git --git-dir=$HOME/dotfiles.git --work-tree=$HOME/"

Step three: See which files will be over-written in your current home directory:

 .DOTFILES status -s -uno

Step four: If no files will be corrupted, or you're happy to replace them, do the necessary:

 .DOTFILES checkout -b  original_files -f
 .DOTFILES commit -a  -m 'original files'
 .DOTFILES checkout master

Now you're done.

It is perhaps more sane to merely use the github browser to cherry-pick the files and functions you want, but each to their own.