Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

TheNightmanCodeth
Copy link

Description

As per issue #1258, this PR ensures the Xcode prompt is only shown when inside of an Xcode project

@TheNightmanCodeth
Copy link
Author

I've fixed the issue with this section showing in all directories and added functionality so the section works without xcenv installed. The SPACESHIP_XCODE_SHOW_LOCAL/GLOBAL flags do the same thing they did before when xcenv is installed and they do nothing if it isn't.

@denysdovhan denysdovhan added the improvement A PR that make small changes for improving UX, performance, readability, etc label Nov 2, 2022
SPACESHIP_XCODE_ASYNC="${SPACESHIP_XCODE_ASYNC=true}"
SPACESHIP_XCODE_SHOW_LOCAL="${SPACESHIP_XCODE_SHOW_LOCAL=true}"
SPACESHIP_XCODE_SHOW_GLOBAL="${SPACESHIP_XCODE_SHOW_GLOBAL=false}"
SPACESHIP_XCODE_SHOW_LOCAL="${SPACESHIP_XCODE_SHOW_LOCAL=false}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't flipping the values of these flags a breaking change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement A PR that make small changes for improving UX, performance, readability, etc

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.