spaceship-prompt 4.16.1 → 4.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spaceship-prompt",
3
- "version": "4.16.1",
3
+ "version": "4.16.2",
4
4
  "description": "A Zsh prompt for Astronauts.",
5
5
  "files": [
6
6
  "lib",
@@ -35,7 +35,8 @@ spaceship_docker_compose() {
35
35
  [[ $SPACESHIP_DOCKER_COMPOSE_SHOW == false ]] && return
36
36
 
37
37
  spaceship::exists docker-compose || return
38
- spaceship::upsearch -s 'docker-compose.y*ml' || return
38
+ local docker_compose_globs=('docker-compose.y*ml' 'compose.y*ml')
39
+ spaceship::upsearch -s $docker_compose_globs || return
39
40
 
40
41
  local containers="$(docker-compose ps -a 2>/dev/null | tail -n+2)"
41
42
  [[ -n "$containers" ]] || return
package/spaceship.zsh CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  # Current version of Spaceship
10
10
  # Useful for issue reporting
11
- export SPACESHIP_VERSION='4.16.1'
11
+ export SPACESHIP_VERSION='4.16.2'
12
12
 
13
13
  # Set SPACESHIP_ROOT if it isn't defined yet or if the directory does
14
14
  # not exist anymore (e.g. after an update to a newer version)