about summary refs log tree commit diff
path: root/bat
diff options
context:
space:
mode:
Diffstat (limited to 'bat')
-rw-r--r--bat/.local/etc/bat/config4
-rwxr-xr-xbat/@install10
2 files changed, 14 insertions, 0 deletions
diff --git a/bat/.local/etc/bat/config b/bat/.local/etc/bat/config
new file mode 100644
index 0000000..60365dd
--- /dev/null
+++ b/bat/.local/etc/bat/config
@@ -0,0 +1,4 @@
+--style=plain
+--tabs=4
+--theme=base16
+--wrap=never
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