From: Jannik ZANDER Date: Wed, 27 Dec 2017 07:30:43 +0000 (+0100) Subject: Fix5 dotfiles-init.sh X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=9b6fed803eb63a51bb93f9a8b45bdc824f77d94c;p=dotfiles.git Fix5 dotfiles-init.sh --- diff --git a/README.md b/README.md index 92b6df0..0a09de7 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ # dotfiles -Initialize dotfiles: +First download 'dotfiles-init.sh' and run it in your home folder. - $ git archive --remote=git@bitbucket.org:jannikz/dotfiles.git HEAD bin/dotfiles-init.sh | tar -x; cp bin/dotfiles-init.sh .;./dotfiles-init.sh;rm dotfiles-init.sh;. .bashrc +Now you can manage dotfiles same way as git: -Manage dotfiles same way as git: - - $ dotfiles \ No newline at end of file + $ dotfiles diff --git a/bin/dotfiles-init.sh b/bin/dotfiles-init.sh index 42f65d3..1a6b0fa 100755 --- a/bin/dotfiles-init.sh +++ b/bin/dotfiles-init.sh @@ -12,3 +12,4 @@ dotfiles remote add origin git@bitbucket.org:jannikz/dotfiles.git dotfiles fetch dotfiles reset --hard origin/master dotfiles branch -u origin/master +. .bashrc