diff --git a/tomb b/tomb index eb3f9e9..1e6f29c 100755 --- a/tomb +++ b/tomb @@ -701,9 +701,9 @@ option_value() { # Messaging function with pretty coloring function _msg() { local msg="$2" + local i command -v gettext 1>/dev/null 2>/dev/null && msg="$(gettext -s "$2")" - for i in $(seq 3 ${#}); - do + for i in {3..${#}}; do msg=${(S)msg//::$(($i - 2))*::/$*[$i]} done