summaryrefslogtreecommitdiff
path: root/dot_local/lib/sh/bat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_local/lib/sh/bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/dot_local/lib/sh/bat b/dot_local/lib/sh/bat
new file mode 100644
index 0000000..6ac64f8
--- /dev/null
+++ b/dot_local/lib/sh/bat
@@ -0,0 +1,3 @@
+. hascmd bat || return
+alias cat=bat
+alias c='bat -pp'