From 383c3c011c9639e10879d85160ba92b12335d75a Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Sun, 9 Sep 2012 15:46:37 +0300 Subject: [PATCH] Do not `ln -s` dotfiles. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Why does prezto create symbolic links for rcfiles? 1. It prevents prezto from simple updates (`git pull`) because the files are local to user’s machine. 2. It prevents from keeping local [dotfiles](http://dotfiles.github.com) repo. I’ve been doing symlinking with dotfiles for a while, for example. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84ef9662..2883d9fe 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ version is 4.3.10. setopt EXTENDED_GLOB for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do - ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" + cp "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}" done 4. Set Zsh as your default shell: