fix load_smartcd sourced detection in zsh