removed 'seq' bashism from messaging functions

fix after ZSh 5.3
This commit is contained in:
Jaromil 2016-12-27 13:14:50 +01:00
parent f2785eca10
commit de9b0f6305
1 changed files with 1 additions and 2 deletions

3
zuper
View File

@ -58,8 +58,7 @@ vars+=(last_act last_func last_notice)
function _msg() {
local msg="$2"
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