Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Dotfiles
VimL Perl Shell
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
copy
links
perldoc-complete @ b040379
v @ 03802d2
z @ 2bdd699
.gitignore
.gitmodules
README.md

README.md

Dotfiles

The key to everything is the script bin/dotfiles. It does the following:

  • Ignores the 'bin' directory because my .bashrc adds the 'bin' directory to $PATH.
  • All the files in 'link' are linked to $HOME.
  • All the files in 'copy' are copied to $HOME.
  • Foreach git submodule in the top level of the repo:
    • If it has a 'bin' directory, link all the executable files in there to '$HOME/bin/'.
    • If there is no 'bin' directory, link all the executable files in the top level of the submodule directory to '$HOME/bin/'.
  • When links are created, if the file already exists it is moved to '/tmp/dotfiles-backup/' before the link is created. A message is printed to tell you when this happens.

How to use it

git clone https://github.com/kablamo/dotfiles.git ~/.dotfiles
~/.dotfiles/bin/dotfiles

Limited Scope

My dotfiles script does not do and will not ever do OS package installs. I manage those with puppet. I should probably manage my dotfiles with puppet too. So far my excuse is puppet is not always available on all systems that I use.

Something went wrong with that request. Please try again.