legacy-dotfiles/zsh/.zsh/functions/line

9 lines
173 B
Text
Raw Permalink Normal View History

2014-07-01 22:53:27 +02:00
# -*- 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