scripts/functions.zsh: removed duplicated lines