diff options
author | Azat Bahawi <azat@bahawi.net> | 1970-01-01 03:00:00 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-09-20 11:51:54 +0300 |
commit | 38bab29776950ac2364ed64195b89887717c33de (patch) | |
tree | edaaf366a55dbe96d268019124536bc504c64e87 /profile/.profile.d/jot.sh |
Diffstat (limited to 'profile/.profile.d/jot.sh')
-rw-r--r-- | profile/.profile.d/jot.sh | 7 |
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 |