From 0d70f1dc57a7aeaba7a4977ccaccfd44a3722517 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 1 Jul 2014 22:53:27 +0200 Subject: Update zsh --- zsh/functions/line | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 zsh/functions/line (limited to 'zsh/functions/line') diff --git a/zsh/functions/line b/zsh/functions/line new file mode 100644 index 0000000..58f7aed --- /dev/null +++ b/zsh/functions/line @@ -0,0 +1,8 @@ +# -*- mode: shell-script; eval: (git-auto-commit-mode 1) -*- + +let start=$(expr $1 + 1) +let width=$(expr $COLUMNS - $2) + +for i in {$start..$width}; do + echo -n \\x2d +done -- cgit v1.2.3-54-g00ecf