From: Jannik ZANDER Date: Sat, 22 Sep 2018 07:27:15 +0000 (+0200) Subject: Rename to dotfiles.sh X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=3fc6e5e00ef36ed4f6f1d04da740df776b3442d0;p=dotfiles.git Rename to dotfiles.sh --- diff --git a/bin/dotfiles.sh b/bin/dotfiles.sh new file mode 100755 index 0000000..c7df52d --- /dev/null +++ b/bin/dotfiles.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash + +git init --bare $HOME/.dotfiles + +# Define githome function +function dotfiles() +{ + git --git-dir=$HOME/.dotfiles --work-tree=$HOME "$@" +} + +# 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 + diff --git a/bin/githome-clone.sh b/bin/githome-clone.sh deleted file mode 100644 index a3865cb..0000000 --- a/bin/githome-clone.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash - -git init --bare $HOME/.githome - -# Define githome function -function githome() -{ - git --git-dir=$HOME/.githome --work-tree=$HOME "$@" -} - -# 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 -