Commit fec45f7a authored by Dylan Araps's avatar Dylan Araps

General: Function cleanup

parent 37dd5d57
......@@ -2440,13 +2440,10 @@ prin() {
# Underline {{{
getunderline() {
case "$underline_enabled" in
"on")
underline="$(printf %"$length"s)"
underline="${underline// /$underline_char}"
;;
"off") underline="" ;;
esac
if [ "$underline_enabled" == "on" ]; then
underline="$(printf %"$length"s)"
underline="${underline// /$underline_char}"
fi
}
# }}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment