]> git.zndr.dk Git - dotfiles.git/commitdiff
Rename to dotfiles.sh
authorJannik ZANDER <jannikz@gmail.com>
Sat, 22 Sep 2018 07:27:15 +0000 (09:27 +0200)
committerJannik ZANDER <jannikz@gmail.com>
Sat, 22 Sep 2018 07:27:15 +0000 (09:27 +0200)
bin/dotfiles.sh [new file with mode: 0755]
bin/githome-clone.sh [deleted file]

diff --git a/bin/dotfiles.sh b/bin/dotfiles.sh
new file mode 100755 (executable)
index 0000000..c7df52d
--- /dev/null
@@ -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 (file)
index a3865cb..0000000
+++ /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
-