From 0fd648d6a04e8242bbbbad3e31f0051e015e8571 Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Sat, 22 Sep 2018 09:28:49 +0200 Subject: [PATCH] Fix dotfiles.sh --- README.md | 12 ++++++------ bin/dotfiles.sh | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 4896219..bab71a7 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ # dotfiles -1) First download 'dit-init.sh' +1) First download 'dotfiles.sh' -> $ git archive --remote=git@jaza.me:jaz/dit.git master bin/dit-init.sh | tar -x --strip-components 1 +> $ git archive --remote=git@jaza.me:jaz/dotfiles.git master bin/dotfiles.sh | tar -x --strip-components 1 -2) Next execute it +2) Next execute it with -> $ ./dit-init.sh +> $ ./dotfiles.sh -3) Now you can manage dotfiles with 'dit' (same as 'git') +3) Now you can manage dotfiles with the command 'dotfiles' (alias for git) -> $ dit +> $ dotfiles diff --git a/bin/dotfiles.sh b/bin/dotfiles.sh index c7df52d..34a928a 100755 --- a/bin/dotfiles.sh +++ b/bin/dotfiles.sh @@ -9,9 +9,9 @@ function dotfiles() } # Initial setup -githome config --local status.showUntrackedFiles no -githome remote add origin git@jaza.me:jaz/dotfiles.git -githome fetch -githome reset --hard origin/master -githome branch -u origin/master +dotfiles config --local status.showUntrackedFiles no +dotfiles remote add origin git@jaza.me:jaz/dotfiles.git +dotfiles fetch +dotfiles reset --hard origin/master +dotfiles branch -u origin/master -- 2.43.0