diff options
| author | Franck Cuny <franckcuny@gmail.com> | 2016-08-04 11:12:37 -0700 |
|---|---|---|
| committer | Franck Cuny <franckcuny@gmail.com> | 2016-08-04 11:12:37 -0700 |
| commit | 2d2a43f200b88627253f2906fbae87cef7c1e8ce (patch) | |
| tree | c65377350d12bd1e62e0bdd58458c1044541c27b /posts/2008-06-27-dotfiles-and-scm.md | |
| parent | Use Bullet list for the index. (diff) | |
| download | lumberjaph-2d2a43f200b88627253f2906fbae87cef7c1e8ce.tar.gz | |
Mass convert all posts from markdown to org.
Diffstat (limited to '')
| -rw-r--r-- | posts/2008-06-27-dotfiles-and-scm.md | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/posts/2008-06-27-dotfiles-and-scm.md b/posts/2008-06-27-dotfiles-and-scm.md deleted file mode 100644 index b93d38c..0000000 --- a/posts/2008-06-27-dotfiles-and-scm.md +++ /dev/null @@ -1,39 +0,0 @@ -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. - -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: - -```make -DOTFILES := $(shell pwd) -all: shell code perl plagger web -shell: - ln -fs $(DOTFILES)/zshrc ${HOME}/.zshrc - ln -fns $(DOTFILES)/zsh.d ${HOME}/.zsh.d - ln -fs $(DOTFILES)/inputrc ${HOME}/.inputrc - ln -fs $(DOTFILES)/screenrc ${HOME}/.screenrc - ln -fns $(DOTFILES)/screen ${HOME}/.screen - ln -fs $(DOTFILES)/profile ${HOME}/.profile - ln -fs $(DOTFILES)/gnupg ${HOME}/.gnupg code: - ln -fs $(DOTFILES)/vimrc ${HOME}/.vimrc - ln -fs $(DOTFILES)/gvimrc ${HOME}/.gvimrc - ln -fns $(DOTFILES)/vim ${HOME}/.vim - ln -fs $(DOTFILES)/ackrc ${HOME}/.ackrc - ln -fs $(DOTFILES)/gitignore ${HOME}/.gitignore - ln -fs $(DOTFILES)/gitconfig ${HOME}/.gitconfig - ln -fs $(DOTFILES)/psqlrc ${HOME}/.psqlrc perl: - ln -fs $(DOTFILES)/proverc ${HOME}/.proverc - ln -fs $(DOTFILES)/pause ${HOME}/.pause - ln -fs $(DOTFILES)/perltidyrc ${HOME}/.perltidyrc - ln -fns $(DOTFILES)/module-starter ${HOME}/.module-starter plagger: - ln -fns $(DOTFILES)/plagger ${HOME}/.plagger web: - ln -fns $(DOTFILES)/irssi ${HOME}/.irssi - 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 run `make all` or `make perl code vim` and I can start coding some perl with vim. |
