We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2711eab + ca87922 commit 540e083Copy full SHA for 540e083
2 files changed
README.md
@@ -1 +1,6 @@
1
-# dotfiles
+# dotfiles
2
+
3
+## Installation
4
+```
5
+$ curl -sL https://github.com/dev-satoshi/dotfiles/install.sh | sh
6
install.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -euo pipefail
+INSTALL_DIR="$HOME/dotfiles"
+if [ -d "$INSTALL_DIR" ]; then
7
+ echo "Updating dotfiles..."
8
+ git -C "$INSTALL_DIR" pull
9
+else
10
+ echo "Installing dotfiles..."
11
+ git clone https://github.com/dev-satoshi/dotfiles "$INSTALL_DIR"
12
+fi
13
14
+sh "$INSTALL_DIR/scripts/setup.sh"
0 commit comments