Closed hrvoj3e closed 5 years ago
https://github.com/denysdovhan/spaceship-prompt/blob/master/sections/git_status.zsh
spaceship_git_status() {
[[ $SPACESHIP_GIT_STATUS_SHOW == false ]] && return
spaceship::is_git || return
...
...
Hey @hrvoj3e. Thank you for the contribution! 😄 That's a great bug you caught. Before we have this merge in, could you please add a test for this config option so that we can catch future regressions?
The appropriate test file is here: https://github.com/matchai/spacefish/blob/master/tests/__sf_section_git_status.test.fish
Is this OK? 8761549
:tada: This PR is included in version 2.2.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
SPACEFISH_GIT_STATUS_SHOW can not be turned off - check this variable and return if false
Description
Motivation and Context
Improves #154
Types of changes
Screenshots (if appropriate):
How Has This Been Tested?
Checklist: