aboutsummaryrefslogtreecommitdiffstats
path: root/oni/home/config
diff options
context:
space:
mode:
Diffstat (limited to 'oni/home/config')
-rw-r--r--oni/home/config/common.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/oni/home/config/common.scm b/oni/home/config/common.scm
index ae67adb..6522640 100644
--- a/oni/home/config/common.scm
+++ b/oni/home/config/common.scm
@@ -102,6 +102,12 @@
"bindkey -e '^Y' x-yank\n"
"autoload -Uz compinit\n"
"compinit\n"
+ "function horizontal-rule() {\n"
+ "local width=$(tput cols)\n"
+ "echo -e \"\\033[0;32m${(pl:$width::━:)}\\033[0m\"\n"
+ "}\n"
+ "preexec_functions+=(horizontal-rule)\n"
+ "precmd_functions+=(horizontal-rule)\n"
"PROMPT=\"%T \\$(spwd) %B%(?.%F{2}.%F{1}[%?])>%b%f \""))))))
(define home-guile-service