From 9b6fed803eb63a51bb93f9a8b45bdc824f77d94c Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Wed, 27 Dec 2017 08:30:43 +0100 Subject: [PATCH] Fix5 dotfiles-init.sh --- README.md | 8 +++----- bin/dotfiles-init.sh | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) 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 -- 2.43.0