Commit fec45f7a authored by Dylan Araps's avatar Dylan Araps

General: Function cleanup

parent 37dd5d57
...@@ -2440,13 +2440,10 @@ prin() { ...@@ -2440,13 +2440,10 @@ prin() {
# Underline {{{ # Underline {{{
getunderline() { getunderline() {
case "$underline_enabled" in if [ "$underline_enabled" == "on" ]; then
"on") underline="$(printf %"$length"s)"
underline="$(printf %"$length"s)" underline="${underline// /$underline_char}"
underline="${underline// /$underline_char}" fi
;;
"off") underline="" ;;
esac
} }
# }}} # }}}
......
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