diff --git a/.mgr_config/README.org b/.mgr_config/README.org index dfa7d0f..efc381c 100644 --- a/.mgr_config/README.org +++ b/.mgr_config/README.org @@ -1,9 +1,17 @@ * Installation +The ol' wget-bash. This will end up creating a =~/.git_home= directory, and should print and abort if there are conflicting files. + #+BEGIN_SRC sh - mkdir $HOME/.git_home - alias git-home='git --git-dir=$HOME/.git_home/ --work-tree=$HOME' - git init --bare ~/.git_home/ - git-home remote add origin https://gitlab.maxregan.me/max/configs.git - git-home checkout -b master origin/master + wget -O - https://gitlab.maxregan.me/max/configs/-/raw/master/.mgr_config/install.sh 2> /dev/null | bash #+END_SRC + +or, if you prefer to curl-bash + +#+BEGIN_SRC sh + curl https://gitlab.maxregan.me/max/configs/-/raw/master/.mgr_config/install.sh | bash +#+END_SRC + +* Usage + +=git-home= is the magic command that will use the home directory as the worktree and =~/.git_home= as the git directory. \ No newline at end of file