6 lines
126 B
Fish

function hr --description "Draw horizontal rule"
set --local char '─'
printf "%.s$char" (seq $COLUMNS)
echo
end