summaryrefslogtreecommitdiff
path: root/_posts/2008-06-27-dotfiles-and-scm.md
diff options
context:
space:
mode:
authorFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
committerFranck Cuny <franck.cuny@gmail.com>2013-11-26 10:36:10 -0800
commit8ddf2e94df70707b458528a437759b96046d3e01 (patch)
treed442818d92d3c9c6f7fcdc92857a1228963849a1 /_posts/2008-06-27-dotfiles-and-scm.md
parentDon't need to use the IP in the makefile. (diff)
downloadlumberjaph-8ddf2e94df70707b458528a437759b96046d3e01.tar.gz
Huge update.
Moved all posts from textile to markdown. Updated all the CSS and styles. Added a new page for the resume.
Diffstat (limited to '')
-rw-r--r--_posts/2008-06-27-dotfiles-and-scm.md (renamed from _posts/2008-06-27-dotfiles-and-scm.textile)20
1 files changed, 5 insertions, 15 deletions
diff --git a/_posts/2008-06-27-dotfiles-and-scm.textile b/_posts/2008-06-27-dotfiles-and-scm.md
index 1868df9..5e1888b 100644
--- a/_posts/2008-06-27-dotfiles-and-scm.textile
+++ b/_posts/2008-06-27-dotfiles-and-scm.md
@@ -1,18 +1,19 @@
---
layout: post
-category: app
+summary: In which I share how I manage my dotfiles
title: Dotfiles and SCM
---
All my dotfiles are stored in a SCM. Most of the time I'm on my main computer, but I can be working on a server or a different workstation. In this case, I like to have all my configurations for zsh, vim, screen, etc.
-So, instead of copying my files over different computers, I put everything in a private repostiroy, and when I'm on a new computer, I just have to checkout it. If I do a modification on a machine, I just need to commit it, and I can have the modification everywhere else.
+So, instead of copying my files over different computers, I put everything in a private repostiroy, and when I'm on a new computer, I just have to checkout it. If I do a modification on a machine, I just need to commit it, and I can have the modification everywhere else.
I've got a $HOME/dotfiles directory, which is versionned (with git in my case). All my configurations file are stored here.
In this directory, as I'm avery lazy person, I've created a Makefile. Each time I create a new file, I add it to the makefile at the same time. The content of the Makefile is the following:
-bc. DOTFILES := $(shell pwd)
+{% highlight sh %}
+DOTFILES := $(shell pwd)
all: shell code perl plagger web
shell:
ln -fs $(DOTFILES)/zshrc ${HOME}/.zshrc
@@ -39,17 +40,6 @@ ln -fns $(DOTFILES)/vimperator ${HOME}/.vimperator
ln -fs $(DOTFILES)/vimperatorrc ${HOME}/.vimperatorrc
ln -fs $(DOTFILES)/flickrrc ${HOME}/.flickrrc
ln -fs $(DOTFILES)/rtorrent.rc ${HOME}/.rtorrent.rc
-
-So next time I want to deploy my dotfiles on a new computer, I can do
-
-{% highlight vim %}
-make all
-{% endhighlight %}
-
-or
-
-{% highlight vim %}
-make perl code vim
{% endhighlight %}
-and I can start coding some perl with vim.
+So next time I want to deploy my dotfiles on a new computer, I can run `make all` or `make perl code vim` and I can start coding some perl with vim.