zsh tweaks to sb_init function