# dotfiles
-Download init script:
+Download and execute the dotfiles-init.sh file:
- $ git archive --remote=git@bitbucket.org:jannikz/dotfiles.git HEAD dotfiles-init.sh
+ $ git archive --remote=git@bitbucket.org:jannikz/dotfiles.git HEAD bin/dotfiles-init.sh | tar -x
+ $ dotfiles-init.sh
+ $ rm dotfiles-init.sh
-Execute it:
-
- $ ./dotfiles-init.sh
--- /dev/null
+#!/usr/bin/env bash
+
+dotfiles()
+{
+ git --git-dir=$HOME/.dotfiles --work-tree=$HOME "$@"
+}
+
+cd $HOME
+git init --bare $HOME/.dotfiles
+dotfiles config --local status.showUntrackedFiles no
+dotfiles remote add origin git@bitbucket.org:jannikz/dotfiles.git
+dotfiles fetch
+dotfiles reset --hard origin/master
+dotfiles branch -u origin/master
+++ /dev/null
-#!/usr/bin/env bash
-
-dotfiles()
-{
- git --git-dir=$HOME/.dotfiles --work-tree=$HOME "$@"
-}
-
-cd $HOME
-git init --bare $HOME/.dotfiles
-dotfiles config --local status.showUntrackedFiles no
-dotfiles remote add origin git@bitbucket.org:jannikz/dotfiles.git
-dotfiles fetch
-dotfiles reset --hard origin/master
-dotfiles branch -u origin/master