legacy-dotfiles/.zsh/functions/line

9 lines
173 B
Text
Raw Normal View History

2012-01-11 22:17:13 +01:00
# -*- mode: shell-script; eval: (git-auto-commit-mode 1) -*-
2012-01-11 22:17:13 +01:00
let start=$(expr $1 + 1)
let width=$(expr $COLUMNS - $2)
2012-01-11 22:17:13 +01:00
for i in {$start..$width}; do
echo -n \\x2d
done