about summary refs log tree commit diff
path: root/profile/.profile.d/jot.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--profile/.profile.d/jot.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/profile/.profile.d/jot.sh b/profile/.profile.d/jot.sh
new file mode 100644
index 0000000..21ff224
--- /dev/null
+++ b/profile/.profile.d/jot.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+if command -v jot >/dev/null 2>&1 &&
+	command -v tput >/dev/null 2>&1; then
+	# shellcheck disable=SC2139
+	alias hr="jot -b '═' -s '' '$(tput cols)'"
+fi

Consider giving Nix/NixOS a try! <3