about summary refs log tree commit diff
path: root/bat
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>1970-01-01 03:00:00 +0300
committerAzat Bahawi <azat@bahawi.net>2022-09-20 11:51:54 +0300
commit38bab29776950ac2364ed64195b89887717c33de (patch)
treeedaaf366a55dbe96d268019124536bc504c64e87 /bat
chore: init HEAD master
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