Simplify sync_config function in zsh