about summary refs log tree commit diff
path: root/bat/@install
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xbat/@install10
1 files changed, 10 insertions, 0 deletions
diff --git a/bat/@install b/bat/@install
new file mode 100755
index 0000000..40c83a4
--- /dev/null
+++ b/bat/@install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+[ ! -d "${XDG_CONFIG_HOME}/bat" ] && \
+    mkdir -p "${XDG_CONFIG_HOME}/bat"
+
+stow \
+    --target="${HOME}" \
+    --ignore="^@.*" \
+    --verbose \
+    bat

Consider giving Nix/NixOS a try! <3