spaceship-prompt 4.6.0 → 4.7.0

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/lib/cache.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # CACHE
3
5
  # Spaceship storage for data
package/lib/cli.zsh CHANGED
@@ -27,7 +27,7 @@ _spaceship::cli::urlencore() {
27
27
  # ------------------------------------------------------------------------------
28
28
 
29
29
  _spaceship::cli::help() {
30
- cat >&2 <<EOF
30
+ cat >&2 <<EOF
31
31
  Usage: spaceship <command> [options]
32
32
 
33
33
  Available commands:
@@ -68,7 +68,7 @@ _spaceship::cli::bug-report() {
68
68
  if [[ -f "/etc/os-release" || -f "/usr/lib/os-release" || -f "/etc/openwrt_release" ]]; then
69
69
  files=("/etc/os-release" "/usr/lib/os-release" "/etc/openwrt_release")
70
70
  for file in "${files[@]}"; do
71
- source "$file" && break
71
+ source "$file" && break
72
72
  done
73
73
  os="${PRETTY_NAME:-${DISTRIB_DESCRIPTION}} ${UBUNTU_CODENAME}"
74
74
  [[ -z "${os// }" ]] && os="$(awk '/BLAG/ {print $1; exit}')" "${files[@]}"
@@ -88,23 +88,25 @@ _spaceship::cli::bug-report() {
88
88
  fi
89
89
  fi
90
90
 
91
+ # @formatter:off
91
92
  if [[ "$(< /proc/version)" == *"Microsoft"* ||
92
93
  "$kernel_version" == *"Microsoft"* ]]; then
93
94
  os="Windows 10"
94
95
  fi
96
+ # @formatter:on
95
97
 
96
98
  os="${os/NAME=}"
97
- ;;
99
+ ;;
98
100
 
99
101
  "Darwin")
100
102
  os="$(sw_vers -productName) $(sw_vers -productVersion)"
101
- ;;
103
+ ;;
102
104
 
103
105
  "CYGWIN"* | "MSYS"* | "MINGW"*)
104
106
  os="$(wmic os get Caption)"
105
107
  os="${os/Caption}"
106
108
  os="${os/Microsoft }"
107
- ;;
109
+ ;;
108
110
  esac
109
111
 
110
112
  # Check for popular frameworks
@@ -218,18 +220,18 @@ _spaceship::cli::print() {
218
220
  case "$prompt_type" in
219
221
  prompt)
220
222
  spaceship::prompt
221
- ;;
223
+ ;;
222
224
  rprompt)
223
225
  spaceship::rprompt
224
- ;;
226
+ ;;
225
227
  ps2)
226
228
  spaceship::ps2
227
- ;;
229
+ ;;
228
230
  *)
229
231
  echo "Unknown prompt type: $prompt_type"
230
232
  echo "Available types: prompt, rprompt, ps2"
231
233
  return 1
232
- ;;
234
+ ;;
233
235
  esac
234
236
  }
235
237
 
@@ -294,9 +296,9 @@ _spaceship() {
294
296
  sections+=("${section##spaceship_}")
295
297
  done
296
298
 
297
- case "$words[2]" in
299
+ case "${words[2]}" in
298
300
  add)
299
- local -a subcmds=("$sections[@]")
301
+ local -a subcmds=("${sections[@]}")
300
302
 
301
303
  subcmds+=("--order: An order to include the section to")
302
304
  subcmds+=("-O: An order to include the section to")
@@ -308,23 +310,23 @@ _spaceship() {
308
310
  subcmds+=("-B: A section to insert the section before")
309
311
 
310
312
  _describe 'command' subcmds
311
- ;;
313
+ ;;
312
314
  remove)
313
- local -a subcmds=("$sections[@]")
315
+ local -a subcmds=("${sections[@]}")
314
316
 
315
317
  subcmds+=("--order: An order to include the section to")
316
318
  subcmds+=("-O: An order to include the section to")
317
319
 
318
320
  _describe 'command' subcmds
319
- ;;
321
+ ;;
320
322
  print)
321
- local -a subcmds=(
322
- "--prompt: A prompt to print"
323
- "-P: A prompt to print"
324
- )
323
+ local -a subcmds=()
324
+
325
+ subcmds+=("--prompt: A prompt to print")
326
+ subcmds+=("-P: A prompt to print")
325
327
 
326
328
  _describe 'command' subcmds
327
- ;;
329
+ ;;
328
330
  esac
329
331
  fi
330
332
 
package/lib/config.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # LOAD USER CONFIG
3
5
  # Try to load configuration file from pre-defined locations
package/lib/core.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # CORE RENDERER
3
5
  # Tools for loading sections, building sections and invoking the renderer
package/lib/hooks.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # HOOKS
3
5
  # Zsh hooks for advanced actions
package/lib/prompts.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # PROMPTS
3
5
  # Compose prompts for different prompt variables.
package/lib/section.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # SECTION
3
5
  # Functions for packing, extracting and rendering sections.
package/lib/testkit.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # TESTKIT
3
5
  # Functions commonly used for testing
package/lib/utils.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # UTILS
3
5
  # Utils for common used actions
package/lib/worker.zsh CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env zsh
2
+
1
3
  # ------------------------------------------------------------------------------
2
4
  # WORKER
3
5
  # Spaceship wrapper around zsh-async
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spaceship-prompt",
3
- "version": "4.6.0",
3
+ "version": "4.7.0",
4
4
  "description": "A Zsh prompt for Astronauts.",
5
5
  "files": [
6
6
  "lib",
@@ -58,7 +58,7 @@ spaceship_docker() {
58
58
  local docker_context_section="$(spaceship::section::render $docker_context)"
59
59
 
60
60
  # Show Docker status only for Docker-specific folders or when connected to external host
61
- local is_docker_project="$(spaceship::upsearch Dockerfile docker-compose.yml)"
61
+ local is_docker_project="$(spaceship::upsearch Dockerfile docker-compose.yml .devcontainer/Dockerfile)"
62
62
  [[ "$compose_exists" == true || -n "$is_docker_project" || -f /.dockerenv || -n $docker_context ]] || return
63
63
 
64
64
  # if docker daemon isn't running you'll get an error saying it can't connect
package/sections/java.zsh CHANGED
@@ -19,12 +19,12 @@ SPACESHIP_JAVA_COLOR="${SPACESHIP_JAVA_COLOR="cyan"}"
19
19
  spaceship_java() {
20
20
  [[ $SPACESHIP_JAVA_SHOW == false ]] && return
21
21
 
22
- local is_java_project="$(spaceship::upsearch pom.xml build.gradle settings.gradle)"
22
+ local is_java_project="$(spaceship::upsearch pom.xml build.gradle settings.gradle build.xml)"
23
23
  [[ -n "$is_java_project" || -n *.(java|class|jar|war)(#qN^/) ]] || return
24
24
 
25
25
  spaceship::exists java || return
26
26
 
27
- local java_version=$(java -version 2>&1 | head -n 1 | awk -F '"' '{print $2}')
27
+ local java_version=$(java -version 2>&1 | spaceship::grep version | awk -F '"' '{print $2}')
28
28
 
29
29
  spaceship::section \
30
30
  --color "$SPACESHIP_JAVA_COLOR" \
@@ -0,0 +1,41 @@
1
+ #
2
+ # Nix Shell
3
+ #
4
+ # Nix can be used to provide some kind of virtual environment through the nix-shell command.
5
+ # Link: https://nixos.org/manual/nix/stable/command-ref/nix-shell.html
6
+
7
+ # ------------------------------------------------------------------------------
8
+ # Configuration
9
+ # ------------------------------------------------------------------------------
10
+
11
+ SPACESHIP_NIXSHELL_SHOW="${SPACESHIP_NIXSHELL_SHOW=true}"
12
+ SPACESHIP_NIXSHELL_ASYNC="${SPACESHIP_NIXSHELL_ASYNC=false}"
13
+ SPACESHIP_NIXSHELL_PREFIX="${SPACESHIP_NIXSHELL_PREFIX="$SPACESHIP_PROMPT_DEFAULT_PREFIX"}"
14
+ SPACESHIP_NIXSHELL_SUFFIX="${SPACESHIP_NIXSHELL_SUFFIX="$SPACESHIP_PROMPT_DEFAULT_SUFFIX"}"
15
+ SPACESHIP_NIXSHELL_SYMBOL="${SPACESHIP_NIXSHELL_SYMBOL="❄ "}"
16
+ SPACESHIP_NIXSHELL_COLOR="${SPACESHIP_NIXSHELL_COLOR="yellow"}"
17
+
18
+ # ------------------------------------------------------------------------------
19
+ # Section
20
+ # ------------------------------------------------------------------------------
21
+
22
+ # Shows whether nix-shell environment is active
23
+ spaceship_nix_shell() {
24
+ [[ $SPACESHIP_NIXSHELL_SHOW == false ]] && return
25
+
26
+ [[ -z "$IN_NIX_SHELL" ]] && return
27
+
28
+ if [[ -z "$name" || "$name" == "" ]] then
29
+ display_text="$IN_NIX_SHELL"
30
+ else
31
+ display_text="$IN_NIX_SHELL ($name)"
32
+ fi
33
+
34
+ # Show prompt section
35
+ spaceship::section \
36
+ --color "$SPACESHIP_NIXSHELL_COLOR" \
37
+ --prefix "$SPACESHIP_NIXSHELL_PREFIX" \
38
+ --suffix "$SPACESHIP_NIXSHELL_SUFFIX" \
39
+ --symbol "$SPACESHIP_NIXSHELL_SYMBOL" \
40
+ "$display_text"
41
+ }
package/sections/node.zsh CHANGED
@@ -25,8 +25,8 @@ spaceship_node() {
25
25
  [[ $SPACESHIP_NODE_SHOW == false ]] && return
26
26
 
27
27
  # Show NODE status only for JS-specific folders
28
- local is_node_project="$(spaceship::upsearch package.json node_modules)"
29
- [[ -n "$is_node_project" || -n *.js(#qN^/) ]] || return
28
+ local is_node_project="$(spaceship::upsearch package.json .nvmrc .node-version node_modules)"
29
+ [[ -n "$is_node_project" || -n *.js(#qN^/) || -n *.cjs(#qN^/) || -n *.mjs(#qN^/) ]] || return
30
30
 
31
31
  local node_version
32
32
 
@@ -0,0 +1,55 @@
1
+ #
2
+ # OCaml
3
+ #
4
+ # OCaml is an industrial strength programming language supporting functional,
5
+ # imperative and object-oriented styles
6
+ # Link: https://ocaml.org/
7
+
8
+ # ------------------------------------------------------------------------------
9
+ # Configuration
10
+ # ------------------------------------------------------------------------------
11
+
12
+ SPACESHIP_OCAML_SHOW="${SPACESHIP_OCAML_SHOW=true}"
13
+ SPACESHIP_OCAML_ASYNC="${SPACESHIP_OCAML_ASYNC=true}"
14
+ SPACESHIP_OCAML_PREFIX="${SPACESHIP_OCAML_PREFIX="$SPACESHIP_PROMPT_DEFAULT_PREFIX"}"
15
+ SPACESHIP_OCAML_SUFFIX="${SPACESHIP_OCAML_SUFFIX="$SPACESHIP_PROMPT_DEFAULT_SUFFIX"}"
16
+ SPACESHIP_OCAML_SYMBOL="${SPACESHIP_OCAML_SYMBOL="🐫 "}"
17
+ SPACESHIP_OCAML_COLOR="${SPACESHIP_OCAML_COLOR="yellow"}"
18
+
19
+ # ------------------------------------------------------------------------------
20
+ # Section
21
+ # ------------------------------------------------------------------------------
22
+
23
+ # Show current version of OCaml
24
+ spaceship_ocaml() {
25
+ [[ $SPACESHIP_OCAML_SHOW == false ]] && return
26
+
27
+ # Show OCaml status only for OCaml/Reason-specific folders
28
+ local is_ocaml_project="$(spaceship::upsearch esy.lock _opam dune dune-project jbuild jbuild-ignore .merlin)"
29
+ [[ -n "$is_ocaml_project" || -n *.opam(#qN^/) || -n *.{ml,mli,re,rei}(#qN^/) ]] || return
30
+
31
+ local ocaml_version
32
+
33
+ if spaceship::exists esy && $(esy true 2>/dev/null); then
34
+ ocaml_version=$(esy ocaml -vnum 2>/dev/null)
35
+ elif spaceship::exists opam; then
36
+ ocaml_version=$(opam switch show 2>/dev/null)
37
+ elif spaceship::exists ocaml; then
38
+ ocaml_version=$(ocaml -vnum)
39
+ else
40
+ return
41
+ fi
42
+
43
+ # Exit if the version is empty or system
44
+ [[ -z "$ocaml_version" || "$ocaml_version" == "system" ]] && return
45
+
46
+ # Add 'v' before OCaml version that starts with a number
47
+ [[ "$ocaml_version" =~ ^[0-9].+$ ]] && ocaml_version="v$ocaml_version"
48
+
49
+ spaceship::section \
50
+ --color "$SPACESHIP_OCAML_COLOR" \
51
+ --prefix "$SPACESHIP_OCAML_PREFIX" \
52
+ --suffix "$SPACESHIP_OCAML_SUFFIX" \
53
+ --symbol "$SPACESHIP_OCAML_SYMBOL" \
54
+ "$ocaml_version"
55
+ }
@@ -8,6 +8,10 @@
8
8
  # * Cargo
9
9
  # * Composer
10
10
  # * Julia
11
+ # * Maven
12
+ # * Gradle
13
+ # * Python (using pyproject.toml)
14
+ # * Dart (Flutter)
11
15
 
12
16
  # ------------------------------------------------------------------------------
13
17
  # Configuration
@@ -22,7 +26,7 @@ SPACESHIP_PACKAGE_SYMBOL="${SPACESHIP_PACKAGE_SYMBOL="📦 "}"
22
26
  SPACESHIP_PACKAGE_COLOR="${SPACESHIP_PACKAGE_COLOR="red"}"
23
27
 
24
28
  if [ -z "$SPACESHIP_PACKAGE_ORDER" ]; then
25
- SPACESHIP_PACKAGE_ORDER=(npm lerna cargo composer julia maven gradle)
29
+ SPACESHIP_PACKAGE_ORDER=(npm lerna cargo composer julia maven gradle python dart)
26
30
  fi
27
31
 
28
32
  # ------------------------------------------------------------------------------
@@ -31,6 +35,7 @@ fi
31
35
 
32
36
  spaceship_package::npm() {
33
37
  spaceship::exists npm || return
38
+
34
39
  local package_json=$(spaceship::upsearch package.json) || return
35
40
 
36
41
  local package_version="$(spaceship::datafile --json $package_json version)"
@@ -52,6 +57,7 @@ spaceship_package::lerna() {
52
57
  # Note: lerna does not have to be installed in the global context
53
58
  # so checking for lerna binary does not make sense
54
59
  spaceship::exists npm || return
60
+
55
61
  local lerna_json=$(spaceship::upsearch lerna.json) || return
56
62
 
57
63
  local package_version="$(spaceship::datafile --json $lerna_json version)"
@@ -77,6 +83,7 @@ spaceship_package::cargo() {
77
83
 
78
84
  spaceship_package::composer() {
79
85
  spaceship::exists composer || return
86
+
80
87
  local composer_json=$(spaceship::upsearch composer.json) || return
81
88
 
82
89
  spaceship::datafile --json $composer_json "version"
@@ -84,13 +91,13 @@ spaceship_package::composer() {
84
91
 
85
92
  spaceship_package::julia() {
86
93
  spaceship::exists julia || return
94
+
87
95
  local project_toml=$(spaceship::upsearch Project.toml) || return
88
96
 
89
97
  spaceship::datafile --toml $project_toml "version"
90
98
  }
91
99
 
92
100
  spaceship_package::maven() {
93
-
94
101
  spaceship::upsearch -s pom.xml || return
95
102
 
96
103
  local maven_exe=$(spaceship::upsearch mvnw) || (spaceship::exists mvn && maven_exe="mvn") || return
@@ -99,7 +106,6 @@ spaceship_package::maven() {
99
106
  }
100
107
 
101
108
  spaceship_package::gradle() {
102
-
103
109
  spaceship::upsearch -s settings.gradle settings.gradle.kts || return
104
110
 
105
111
  local gradle_exe=$(spaceship::upsearch gradlew) || (spaceship::exists gradle && gradle_exe="gradle") || return
@@ -107,6 +113,23 @@ spaceship_package::gradle() {
107
113
  $gradle_exe properties --no-daemon --console=plain -q 2>/dev/null | grep "^version:" | awk '{printf $2}'
108
114
  }
109
115
 
116
+ spaceship_package::python() {
117
+ local pyproject_toml=$(spaceship::upsearch pyproject.toml) || return
118
+
119
+ spaceship::datafile --toml $project_toml "tool.poetry.version"
120
+ if [[ $? != 0 ]]; then
121
+ spaceship::datafile --toml $project_toml "project.version"
122
+ fi
123
+ }
124
+
125
+ spaceship_package::dart() {
126
+ spaceship::exists dart || return
127
+
128
+ local pubspec_file=$(spaceship::upsearch pubspec.yaml pubspec.yml) || return
129
+
130
+ spaceship::datafile --yaml $pubspec_file "version"
131
+ }
132
+
110
133
  # ------------------------------------------------------------------------------
111
134
  # Section
112
135
  # ------------------------------------------------------------------------------
@@ -0,0 +1,43 @@
1
+ #
2
+ # Perl
3
+ #
4
+ # Perl is a general purpose programming language, originally developed for
5
+ # text manipulation.
6
+ # Perl refers to Perl 5.x, where Perl 6+ officially changed the name to Raku.
7
+ #
8
+ # Link: https://www.perl.org/
9
+ # ------------------------------------------------------------------------------
10
+ # Configuration
11
+ # ------------------------------------------------------------------------------
12
+
13
+ SPACESHIP_PERL_SHOW="${SPACESHIP_PERL_SHOW=true}"
14
+ SPACESHIP_PERL_ASYNC="${SPACESHIP_PHP_ASYNC=true}"
15
+ SPACESHIP_PERL_PREFIX="${SPACESHIP_PERL_PREFIX="$SPACESHIP_PROMPT_DEFAULT_PREFIX"}"
16
+ SPACESHIP_PERL_SUFFIX="${SPACESHIP_PERL_SUFFIX="$SPACESHIP_PROMPT_DEFAULT_SUFFIX"}"
17
+ SPACESHIP_PERL_SYMBOL="${SPACESHIP_PERL_SYMBOL="🐪 "}"
18
+ SPACESHIP_PERL_COLOR="${SPACESHIP_PERL_COLOR="blue"}"
19
+
20
+ # ------------------------------------------------------------------------------
21
+ # Section
22
+ # ------------------------------------------------------------------------------
23
+
24
+ # Show current version of Perl
25
+ spaceship_perl() {
26
+ [[ $SPACESHIP_PERL_SHOW == false ]] && return
27
+
28
+ spaceship::exists perl || return
29
+
30
+ # Show only if perl files or composer.json exist in current directory
31
+ local is_perl_project="$(spaceship::upsearch META.json META.yml META.yaml .perl-version cpanfile)"
32
+ [[ -n "$is_perl_project" || -n *.pl(#qN^/) || -n *.pm(#qN^/) ]] || return
33
+
34
+ local perl_version=$(perl -v 2>&1 | awk '/This/ {print $9}' | sed -r 's/[(v]+//g;s/[)]//g')
35
+
36
+ spaceship::section \
37
+ --color "$SPACESHIP_PERL_COLOR" \
38
+ --prefix "$SPACESHIP_PERL_PREFIX" \
39
+ --suffix "$SPACESHIP_PERL_SUFFIX" \
40
+ --symbol "$SPACESHIP_PERL_SYMBOL" \
41
+ "v$perl_version"
42
+
43
+ }
@@ -0,0 +1,41 @@
1
+ #
2
+ # Scala
3
+ #
4
+ # Scala is a strongly typed language supporting the functional and object oriented paradigms.
5
+ # Link: https://www.scala-lang.org/
6
+
7
+ # ------------------------------------------------------------------------------
8
+ # Configuration
9
+ # ------------------------------------------------------------------------------
10
+
11
+ SPACESHIP_SCALA_SHOW="${SPACESHIP_SCALA_SHOW=true}"
12
+ SPACESHIP_SCALA_ASYNC="${SPACESHIP_SCALA_ASYNC=true}"
13
+ SPACESHIP_SCALA_PREFIX="${SPACESHIP_SCALA_PREFIX="$SPACESHIP_PROMPT_DEFAULT_PREFIX"}"
14
+ SPACESHIP_SCALA_SUFFIX="${SPACESHIP_SCALA_SUFFIX="$SPACESHIP_PROMPT_DEFAULT_SUFFIX"}"
15
+ SPACESHIP_SCALA_SYMBOL="${SPACESHIP_SCALA_SYMBOL="🆂 "}"
16
+ SPACESHIP_SCALA_COLOR="${SPACESHIP_SCALA_COLOR="red"}"
17
+
18
+ # ------------------------------------------------------------------------------
19
+ # Section
20
+ # ------------------------------------------------------------------------------
21
+
22
+ spaceship_scala() {
23
+ [[ $SPACESHIP_SCALA_SHOW == false ]] && return
24
+
25
+ spaceship::exists scalac || return
26
+
27
+ local is_scala_context="$(spaceship::upsearch .scalaenv .sbtenv .metals)"
28
+ [[ -n "$is_scala_context" || -n *.scala(#qN^/) || -n *.sbt(#qN^/) ]] || return
29
+
30
+ # pipe version info into stdout; won't work otherwise
31
+ local scala_version=$(scalac -version 2>&1 | spaceship::grep -oe "[0-9]\.[0-9]\.[0-9]")
32
+
33
+ [[ -z "$scala_version" || "${scala_version}" == "system" ]] && return
34
+
35
+ spaceship::section::v4 \
36
+ --color "$SPACESHIP_SCALA_COLOR" \
37
+ --prefix "$SPACESHIP_SCALA_PREFIX" \
38
+ --suffix "$SPACESHIP_SCALA_SUFFIX" \
39
+ --symbol "$SPACESHIP_SCALA_SYMBOL" \
40
+ "v$scala_version"
41
+ }
package/spaceship.zsh CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env zsh
1
2
  #
2
3
  # Spaceship ZSH
3
4
  #
@@ -7,7 +8,7 @@
7
8
 
8
9
  # Current version of Spaceship
9
10
  # Useful for issue reporting
10
- export SPACESHIP_VERSION='4.6.0'
11
+ export SPACESHIP_VERSION='4.7.0'
11
12
 
12
13
  # Determination of Spaceship working directory
13
14
  # https://git.io/vdBH7
@@ -53,9 +54,11 @@ if [ -z "$SPACESHIP_PROMPT_ORDER" ]; then
53
54
  xcode # Xcode section
54
55
  swift # Swift section
55
56
  golang # Go section
57
+ perl # Perl section
56
58
  php # PHP section
57
59
  rust # Rust section
58
60
  haskell # Haskell Stack section
61
+ scala # Scala section
59
62
  java # Java section
60
63
  lua # Lua section
61
64
  dart # Dart section
@@ -67,9 +70,11 @@ if [ -z "$SPACESHIP_PROMPT_ORDER" ]; then
67
70
  venv # virtualenv section
68
71
  conda # conda virtualenv section
69
72
  dotnet # .NET section
73
+ ocaml # OCaml section
70
74
  kubectl # Kubectl context section
71
75
  terraform # Terraform workspace section
72
76
  ibmcloud # IBM Cloud section
77
+ nix_shell # Nix shell
73
78
  exec_time # Execution time
74
79
  async # Async jobs indicator
75
80
  line_sep # Line break
package/CHANGELOG.md DELETED
@@ -1,442 +0,0 @@
1
- # [4.6.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.5.1...v4.6.0) (2022-10-07)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * locale dependent test ([#1253](https://github.com/spaceship-prompt/spaceship-prompt/issues/1253)) ([7477dfb](https://github.com/spaceship-prompt/spaceship-prompt/commit/7477dfb601b7fa41975406c53a4e3969899f0471))
7
- * problem async section not updating ([b72b54a](https://github.com/spaceship-prompt/spaceship-prompt/commit/b72b54ac2ab2babb829ab5d39565961a8591379e))
8
-
9
-
10
- ### Features
11
-
12
- * add Dart section ([#1249](https://github.com/spaceship-prompt/spaceship-prompt/issues/1249)) ([f403f2f](https://github.com/spaceship-prompt/spaceship-prompt/commit/f403f2f3f499ee5abb8d8d6b1dac30c5bd8412f1))
13
- * add Lua section ([#1254](https://github.com/spaceship-prompt/spaceship-prompt/issues/1254)) ([7a3a2e9](https://github.com/spaceship-prompt/spaceship-prompt/commit/7a3a2e94657c90c66c20f7d1627625e851ae9ad6))
14
-
15
- ## [4.5.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.5.0...v4.5.1) (2022-09-30)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * **kubectl:** Avoids checking kubectl server version if no context is loaded, stopping potential hangs ([#1246](https://github.com/spaceship-prompt/spaceship-prompt/issues/1246)) ([44819b0](https://github.com/spaceship-prompt/spaceship-prompt/commit/44819b09c3017d0fb42bc22bdcbd05f847b2d915))
21
- * prepend spaceship root folder to spaceship precompile path ([#1244](https://github.com/spaceship-prompt/spaceship-prompt/issues/1244)) ([6c4623f](https://github.com/spaceship-prompt/spaceship-prompt/commit/6c4623fe9f31ac7b16fb7ebeffaa23b123220ef9))
22
- * upsearch was exiting when the first file is not found ([#1239](https://github.com/spaceship-prompt/spaceship-prompt/issues/1239)) ([dcfd690](https://github.com/spaceship-prompt/spaceship-prompt/commit/dcfd690f7b7607d05d160b084eb193460e9edf81))
23
-
24
- # [4.5.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.4.0...v4.5.0) (2022-09-23)
25
-
26
-
27
- ### Bug Fixes
28
-
29
- * **crystal:** Include Crystal in order ([d215797](https://github.com/spaceship-prompt/spaceship-prompt/commit/d215797efc63e081cc6516aac6974a1ece6b255a))
30
- * fix grep unknown option: --color ([#1206](https://github.com/spaceship-prompt/spaceship-prompt/issues/1206)) ([8a16414](https://github.com/spaceship-prompt/spaceship-prompt/commit/8a16414d78a41e0e11574c55e323bef09835a77b)), closes [#1066](https://github.com/spaceship-prompt/spaceship-prompt/issues/1066)
31
-
32
-
33
- ### Features
34
-
35
- * **crystal:** Add Crystal section for 4.x ([c72c6c9](https://github.com/spaceship-prompt/spaceship-prompt/commit/c72c6c94f74b0ab1e110c775cfb8ec655b90da0e))
36
- * **deno:** Add Deno section ([c43f8c5](https://github.com/spaceship-prompt/spaceship-prompt/commit/c43f8c5e4e3886f0ba612c1b347591bcc2b00880))
37
-
38
- ## [4.4.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.4.0...v4.4.1) (2022-09-21)
39
-
40
-
41
- ### Bug Fixes
42
-
43
- * fix grep unknown option: --color ([#1206](https://github.com/spaceship-prompt/spaceship-prompt/issues/1206)) ([540a17a](https://github.com/spaceship-prompt/spaceship-prompt/commit/540a17a37a2199a3faa4987564a6485b63582fef)), closes [#1066](https://github.com/spaceship-prompt/spaceship-prompt/issues/1066)
44
-
45
- # [4.4.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.3.3...v4.4.0) (2022-09-21)
46
-
47
-
48
- ### Features
49
-
50
- * make package section to support maven and gradle ([#1209](https://github.com/spaceship-prompt/spaceship-prompt/issues/1209)) ([c8b6ce7](https://github.com/spaceship-prompt/spaceship-prompt/commit/c8b6ce7ade1a3176353d6ba46faa37db7e05e709))
51
-
52
- ## [4.3.3](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.3.2...v4.3.3) (2022-09-21)
53
-
54
-
55
- ### Bug Fixes
56
-
57
- * attempt to fix [#1187](https://github.com/spaceship-prompt/spaceship-prompt/issues/1187) ([9a5d7be](https://github.com/spaceship-prompt/spaceship-prompt/commit/9a5d7beb7dd51b8290b573dbdef4f6ecc908d938))
58
-
59
- ## [4.3.2](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.3.1...v4.3.2) (2022-09-20)
60
-
61
-
62
- ### Bug Fixes
63
-
64
- * mark spaceship libs as global ([e0a0926](https://github.com/spaceship-prompt/spaceship-prompt/commit/e0a09267dc61119738da42862f0828f869e248f5))
65
-
66
- ## [4.3.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.3.0...v4.3.1) (2022-09-19)
67
-
68
-
69
- ### Bug Fixes
70
-
71
- * Delete the redundant space for kubectl symbol (iTerm2) ([#1205](https://github.com/spaceship-prompt/spaceship-prompt/issues/1205)) ([8ddbc81](https://github.com/spaceship-prompt/spaceship-prompt/commit/8ddbc8115c714ee82c49101690f5effd45f3a01a))
72
-
73
- # [4.3.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.6...v4.3.0) (2022-09-16)
74
-
75
-
76
- ### Features
77
-
78
- * fix package section file path ([71f527b](https://github.com/spaceship-prompt/spaceship-prompt/commit/71f527b68c5464f1283dd878d6481358d67c9741))
79
-
80
- ## [4.2.6](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.5...v4.2.6) (2022-09-08)
81
-
82
-
83
- ### Bug Fixes
84
-
85
- * **documentation:** use home variable instead of tilde ([#1189](https://github.com/spaceship-prompt/spaceship-prompt/issues/1189)) ([01e153e](https://github.com/spaceship-prompt/spaceship-prompt/commit/01e153efa56bc7c599fa1711d0291397411a002a))
86
-
87
- ## [4.2.5](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.4...v4.2.5) (2022-09-05)
88
-
89
-
90
- ### Bug Fixes
91
-
92
- * **npm:** Include async into npm package ([e9ff5af](https://github.com/spaceship-prompt/spaceship-prompt/commit/e9ff5af40f7ef4e813677a4d8ce83e3647bde159))
93
-
94
- ## [4.2.4](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.3...v4.2.4) (2022-09-05)
95
-
96
-
97
- ### Bug Fixes
98
-
99
- * **config:** fix wrong path for spaceship config ([cf4b55e](https://github.com/spaceship-prompt/spaceship-prompt/commit/cf4b55e34f2140f83983cc112a175f03cb0e2507)), closes [#1184](https://github.com/spaceship-prompt/spaceship-prompt/issues/1184)
100
-
101
- ## [4.2.3](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.2...v4.2.3) (2022-09-05)
102
-
103
-
104
- ### Bug Fixes
105
-
106
- * exec_time doc regarding time threshold trigger ([#1183](https://github.com/spaceship-prompt/spaceship-prompt/issues/1183)) ([ffd027b](https://github.com/spaceship-prompt/spaceship-prompt/commit/ffd027b1e6a697c532b40ff8da1b429a371f306a))
107
-
108
- ## [4.2.2](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.1...v4.2.2) (2022-09-05)
109
-
110
-
111
- ### Bug Fixes
112
-
113
- * **julia:** Better detection for Julia projects ([b91ae3d](https://github.com/spaceship-prompt/spaceship-prompt/commit/b91ae3d0e5006260445c8a62706a3d79f453660d)), closes [#678](https://github.com/spaceship-prompt/spaceship-prompt/issues/678)
114
-
115
- ## [4.2.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.0...v4.2.1) (2022-09-05)
116
-
117
-
118
- ### Bug Fixes
119
-
120
- * change the declaration of readonly variable to typeset ([f80bc28](https://github.com/spaceship-prompt/spaceship-prompt/commit/f80bc2813977f183d8c39ac1694bc1675d808589)), closes [#1175](https://github.com/spaceship-prompt/spaceship-prompt/issues/1175)
121
-
122
- # [4.2.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.1.0...v4.2.0) (2022-09-02)
123
-
124
-
125
- ### Features
126
-
127
- * Add ruby interpreter in datafile util ([005f9fa](https://github.com/spaceship-prompt/spaceship-prompt/commit/005f9fa6191dc94d29cb6db3bd860b6b05b59ef9))
128
-
129
- # [4.1.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.0.0...v4.1.0) (2022-09-02)
130
-
131
-
132
- ### Features
133
-
134
- * **bun:** Add Bun section ([83ce0ee](https://github.com/spaceship-prompt/spaceship-prompt/commit/83ce0ee893757aee1c41b11c5433849a4c9de61d))
135
-
136
- # [4.0.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.16.7...v4.0.0) (2022-09-01)
137
-
138
-
139
- ### Bug Fixes
140
-
141
- * add permissions to scripts ([7c3e427](https://github.com/spaceship-prompt/spaceship-prompt/commit/7c3e42727531ff612588722c509da643566f57fd))
142
- * add x permissions to files ([9a34149](https://github.com/spaceship-prompt/spaceship-prompt/commit/9a341498bb6d31bf6d179121adbe781972fcde26))
143
- * **async:** remove obsolete runtime variables ([2128ab0](https://github.com/spaceship-prompt/spaceship-prompt/commit/2128ab0046080d633c29a69f86322ca4ca9bed90))
144
- * cherry pick [#1089](https://github.com/spaceship-prompt/spaceship-prompt/issues/1089) ([52448c1](https://github.com/spaceship-prompt/spaceship-prompt/commit/52448c121f7d3602e2e046ae674b70c5a8bbdafa))
145
- * **cli:** Add missing commands in help message ([c2eb3e3](https://github.com/spaceship-prompt/spaceship-prompt/commit/c2eb3e35e8088c014cc0ed04aaab8133afaa3dd6))
146
- * compdef only when compdef is available ([c309af6](https://github.com/spaceship-prompt/spaceship-prompt/commit/c309af62cbb8411583228a179ccb37d8329d2af6))
147
- * **docker:** add additional utils inside docker image ([8813eb0](https://github.com/spaceship-prompt/spaceship-prompt/commit/8813eb0b691d1ccab1042c93edffc1c43764a0b5))
148
- * fix command-line completion leving one letter on the beginning of prompt ([6a4abd5](https://github.com/spaceship-prompt/spaceship-prompt/commit/6a4abd5c3489ef3a1f1387673bafdb2ab0298887)), closes [#1064](https://github.com/spaceship-prompt/spaceship-prompt/issues/1064)
149
- * **git:** Add explicit variable for async rendering ([cfa95e6](https://github.com/spaceship-prompt/spaceship-prompt/commit/cfa95e6c80ee9d5d9dfa486daf892c1021278140))
150
- * **git:** fix ahead/behind indicators ([a067c4d](https://github.com/spaceship-prompt/spaceship-prompt/commit/a067c4df0b663410f7e617e9a2240393f9219095))
151
- * **git:** Fix typo in a section signature ([f8ed612](https://github.com/spaceship-prompt/spaceship-prompt/commit/f8ed612d8b5328d934a86c5664a745e9fbc0628d))
152
- * **hg:** Add options for async rendering ([d5bdfa4](https://github.com/spaceship-prompt/spaceship-prompt/commit/d5bdfa42dc969fe9098792a305b34352d1ba4048))
153
- * **kubectl:** fix kubectl section ([1b71e09](https://github.com/spaceship-prompt/spaceship-prompt/commit/1b71e096dd68be80672173686ea1974d8095ea45))
154
- * make core variables readonly ([1cd4756](https://github.com/spaceship-prompt/spaceship-prompt/commit/1cd4756caf2080f8a13bd5aab15d927660f3d836))
155
- * NEWLINE variable doesn't work ([28b37f5](https://github.com/spaceship-prompt/spaceship-prompt/commit/28b37f566ebc141c93395d003601e1447f6bf91f))
156
- * **ps2:** print PS2 properly ([0d9766c](https://github.com/spaceship-prompt/spaceship-prompt/commit/0d9766c8b65707cb3e7eef19f78bb080cdda3e1b))
157
- * put user config loading in a proper place ([5c68702](https://github.com/spaceship-prompt/spaceship-prompt/commit/5c68702d6e695b517ca89593777651d665c8719e))
158
- * **python:** use python3 command ([0466bb8](https://github.com/spaceship-prompt/spaceship-prompt/commit/0466bb8a9c443e930d9ba11318b5fe6b0f8a6cca))
159
- * **renderer:** fix missing options for globes ([107429c](https://github.com/spaceship-prompt/spaceship-prompt/commit/107429ce5ea936d25fc8cbf813fcf256be75c683))
160
- * rendering docker context ([b6a49f8](https://github.com/spaceship-prompt/spaceship-prompt/commit/b6a49f8e00f28f265c13340183d102a1bbe5252f))
161
- * Resolve newline issue with command expansion ([bcfce70](https://github.com/spaceship-prompt/spaceship-prompt/commit/bcfce70c8552d4b8e378e7b542754da4115ce7b8))
162
- * **scripts:** Stop on errors ([ccee8e9](https://github.com/spaceship-prompt/spaceship-prompt/commit/ccee8e994d5bd1ddda8c3ed89e9d6767792a7b67))
163
- * set proper message if no account ([#1099](https://github.com/spaceship-prompt/spaceship-prompt/issues/1099)) ([69f906c](https://github.com/spaceship-prompt/spaceship-prompt/commit/69f906caa21af14b7ae199f2252629331485b8cd))
164
- * support CLOUDSDK_CONFIG env ([#1122](https://github.com/spaceship-prompt/spaceship-prompt/issues/1122)) ([ae348f9](https://github.com/spaceship-prompt/spaceship-prompt/commit/ae348f9a3df50b13134f1dc7f5eaa574f215cf74)), closes [#1117](https://github.com/spaceship-prompt/spaceship-prompt/issues/1117)
165
- * **tests:** render prefixes and suffixes only when they are not empty ([73c2c71](https://github.com/spaceship-prompt/spaceship-prompt/commit/73c2c7135edfeadb92b285c7db70af63566f7852))
166
- * **upsearch:** Check repo properly ([4764ed9](https://github.com/spaceship-prompt/spaceship-prompt/commit/4764ed921d2b6a78c2ea72641ba91ed072e7b3b5))
167
-
168
-
169
- ### Code Refactoring
170
-
171
- * **ember:** remove ember from built-in sections ([05beb8b](https://github.com/spaceship-prompt/spaceship-prompt/commit/05beb8b56f6203d215c50c0b26ff27174b9104ab))
172
- * **gradle:** migrate Gradle to a separate repo ([984bc01](https://github.com/spaceship-prompt/spaceship-prompt/commit/984bc01c073c399dfb7484c5ecdff672062a213f))
173
- * **install:** simplify the installation process ([824f876](https://github.com/spaceship-prompt/spaceship-prompt/commit/824f87657309b1f2579173252667a3cfb88c881e))
174
- * **maven:** migrate Maven to a separate repo ([3efd48b](https://github.com/spaceship-prompt/spaceship-prompt/commit/3efd48b55029ae2c68bbf4e3a43fb922c8b3e942))
175
- * **vi_mode:** move vi_mode to external section ([9ce611b](https://github.com/spaceship-prompt/spaceship-prompt/commit/9ce611b10ba3766f149abe8a1c1d27f488845b6e)), closes [#586](https://github.com/spaceship-prompt/spaceship-prompt/issues/586)
176
-
177
-
178
- ### Features
179
-
180
- * add ability to forcefully render a section synchronously ([216f0f2](https://github.com/spaceship-prompt/spaceship-prompt/commit/216f0f2c710191b1f3436c744c52b7de21129b4b))
181
- * add IBM Cloud CLI section ([#912](https://github.com/spaceship-prompt/spaceship-prompt/issues/912)) ([30b4b60](https://github.com/spaceship-prompt/spaceship-prompt/commit/30b4b60176e727cbf7b1fc7d1bccadcd61139c0b))
182
- * Add is_async util ([d539ee5](https://github.com/spaceship-prompt/spaceship-prompt/commit/d539ee5d61714addb80ba2d531a36d1029cc3d18))
183
- * Add java section ([713f406](https://github.com/spaceship-prompt/spaceship-prompt/commit/713f406a3f1bdbeda50bf6924dbf957230361595))
184
- * **async:** add an option to globaly disable/enable async rendering ([0ca1463](https://github.com/spaceship-prompt/spaceship-prompt/commit/0ca1463b1891edfcad0d25897a0c733dfdd19d73))
185
- * **async:** introduce async jobs indicator ([f0a75ce](https://github.com/spaceship-prompt/spaceship-prompt/commit/f0a75cece5361963b4c9a39fbd9151093ec3502d))
186
- * **cli:** add a print command for CLI ([6843105](https://github.com/spaceship-prompt/spaceship-prompt/commit/6843105f2a061629cc912d255f6e9ace98cc485b))
187
- * **cli:** add CLI ([205cb16](https://github.com/spaceship-prompt/spaceship-prompt/commit/205cb16eef6783d6e37af47d2492861d5c5aba7a))
188
- * **cli:** add command completions for cli ([2ae45a4](https://github.com/spaceship-prompt/spaceship-prompt/commit/2ae45a4ec0c4231b69c2090d3a7ed2211051945a))
189
- * **cli:** Add edit command ([b029587](https://github.com/spaceship-prompt/spaceship-prompt/commit/b029587ed9473ba9b8efc19ddaf8135636ae2d08))
190
- * **cli:** CLI for inserting and removing sections ([5dcce40](https://github.com/spaceship-prompt/spaceship-prompt/commit/5dcce40e99e0595453133862b95720882ab07fe7)), closes [#318](https://github.com/spaceship-prompt/spaceship-prompt/issues/318)
191
- * **config:** Add ability to store config in ~/.config/spaceship ([b5dee37](https://github.com/spaceship-prompt/spaceship-prompt/commit/b5dee377c85b54e4f70071de42bc1cff52816f82))
192
- * **config:** introduce config file resolution ([e087459](https://github.com/spaceship-prompt/spaceship-prompt/commit/e087459d316aa445506cf41b3d58be4b0b4b854a)), closes [#508](https://github.com/spaceship-prompt/spaceship-prompt/issues/508)
193
- * **docker:** add docker image and publishing it to ghcr.io ([77d7457](https://github.com/spaceship-prompt/spaceship-prompt/commit/77d74570b7a68c934bb4e5c5ac1a7b36e9fd96cb))
194
- * **exec_time:** display exec time with precision ([7b04aed](https://github.com/spaceship-prompt/spaceship-prompt/commit/7b04aed499175e22ec37b9af55fb3375d5fd48b1))
195
- * **git:** add ability to customize git and hg orders ([8a54cb3](https://github.com/spaceship-prompt/spaceship-prompt/commit/8a54cb39036b173be143b134f1ce00760813fe2d)), closes [#391](https://github.com/spaceship-prompt/spaceship-prompt/issues/391)
196
- * **haskell:** Look for .hs files ([b2eb8a3](https://github.com/spaceship-prompt/spaceship-prompt/commit/b2eb8a35f3c41b73a7d48787a3f4f413c390407f))
197
- * **ibmcloud:** Enable async rendering for ibmcloud ([8391054](https://github.com/spaceship-prompt/spaceship-prompt/commit/8391054c79bacd68c87032ae9011f9c8deb424c6))
198
- * **package:** Add composer and julia support ([3f8bb1e](https://github.com/spaceship-prompt/spaceship-prompt/commit/3f8bb1e5a41ad33f55f5c078ed893a4ef7cee214))
199
- * **perf:** Compile to zwc ([3549bbf](https://github.com/spaceship-prompt/spaceship-prompt/commit/3549bbf9050670b70f79b61c6c90755022448b7e))
200
- * **registry:** Add custom sections registry ([86d64dd](https://github.com/spaceship-prompt/spaceship-prompt/commit/86d64ddbba4c42092a6fcb98dc06822726531a49))
201
- * **renderer:** render sync section on every render ([4e93ae0](https://github.com/spaceship-prompt/spaceship-prompt/commit/4e93ae0ccbb7cd692995b5e78942e783bb25aa71))
202
- * **section:** migrate default section to v4 ([0684171](https://github.com/spaceship-prompt/spaceship-prompt/commit/0684171c41783c278cfaa84fbc844a18a1b4a7ed))
203
- * **section:** Migrate sections to new signature ([b3249fb](https://github.com/spaceship-prompt/spaceship-prompt/commit/b3249fb756a31dec21f1c11beca1a37bf961332d))
204
- * **section:** Named arguments for section ([201496b](https://github.com/spaceship-prompt/spaceship-prompt/commit/201496b4311852e070b315b473dcfbe1d9a792cc))
205
- * **testkit:** add a simple testkit ([1ceca85](https://github.com/spaceship-prompt/spaceship-prompt/commit/1ceca858ddfe8888418e7096e3f863df5d611d6e))
206
- * Upsearch for project files up the tree ([08f6d70](https://github.com/spaceship-prompt/spaceship-prompt/commit/08f6d70e972fc56fa47dccb42f1e44b0bdce352b))
207
- * **vsc:** Make git and hg async ([9ddb9be](https://github.com/spaceship-prompt/spaceship-prompt/commit/9ddb9be29df8058e06b43a4a7504b4faa87cd677))
208
-
209
-
210
- ### Performance Improvements
211
-
212
- * **zwc:** Precompile root file and async ([ee5afc5](https://github.com/spaceship-prompt/spaceship-prompt/commit/ee5afc5caf87b22bf3467679f8a6849c04956b03))
213
- * **zwc:** spaceship::precompile compiles sources to zwc ([58758e7](https://github.com/spaceship-prompt/spaceship-prompt/commit/58758e785d948ba3d5a1718dc5cc11321339ab81))
214
-
215
-
216
- ### BREAKING CHANGES
217
-
218
- * **section:** spaceship::section:v4 uses flags instead of arguments order to pass section params.
219
- * **vi_mode:** vi_mode section is not include in core anymore
220
- * **gradle:** Gradle section is not included by default. It can be installed additionally from:
221
- https://github.com/spaceship-prompt/spaceship-gradle
222
- * **maven:** Maven section is no longer available by default. It can be additionally installed
223
- from: https://github.com/spaceship-prompt/spaceship-maven
224
- * **install:** Now users have to manually enable prompt system and choose spaceship
225
- * **ember:** ember section is no longer available out of the box. It needs to be installed
226
- additionally.
227
-
228
- ## [3.16.7](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.16.6...v3.16.7) (2022-05-10)
229
-
230
-
231
- ### Bug Fixes
232
-
233
- * revert problem with publishing to brew ([d76cc7b](https://github.com/spaceship-prompt/spaceship-prompt/commit/d76cc7ba804471c78dfc1d471f688019a65934a6))
234
-
235
- ## [3.16.6](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.16.5...v3.16.6) (2022-05-09)
236
-
237
-
238
- ### Bug Fixes
239
-
240
- * **brew:** Attempt to bump homebrew formula with main release ([5f476b1](https://github.com/spaceship-prompt/spaceship-prompt/commit/5f476b1d2942c778a9ca4d7609f4db2526c9430d))
241
-
242
- ## [3.16.5](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.16.4...v3.16.5) (2022-03-28)
243
-
244
-
245
- ### Bug Fixes
246
-
247
- * support CLOUDSDK_CONFIG env ([#1122](https://github.com/spaceship-prompt/spaceship-prompt/issues/1122)) ([6358eaf](https://github.com/spaceship-prompt/spaceship-prompt/commit/6358eaff0a2ad954445c169335d89ef00602aee1)), closes [#1117](https://github.com/spaceship-prompt/spaceship-prompt/issues/1117)
248
-
249
- ## [3.16.4](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.16.3...v3.16.4) (2022-02-24)
250
-
251
-
252
- ### Bug Fixes
253
-
254
- * **readme:** Add notice about Ukraine ([93f328f](https://github.com/spaceship-prompt/spaceship-prompt/commit/93f328ffc049ac0c847d697b0792487b616f4496))
255
-
256
- ## [3.16.3](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.16.2...v3.16.3) (2022-02-16)
257
-
258
-
259
- ### Bug Fixes
260
-
261
- * set proper message if no account ([#1099](https://github.com/spaceship-prompt/spaceship-prompt/issues/1099)) ([15d2279](https://github.com/spaceship-prompt/spaceship-prompt/commit/15d227994e003a9a3ddd30596f8a675acc212f29))
262
-
263
- ## [3.16.2](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.16.1...v3.16.2) (2022-01-15)
264
-
265
-
266
- ### Bug Fixes
267
-
268
- * don't show docker section when using colima ([#1101](https://github.com/spaceship-prompt/spaceship-prompt/issues/1101)) ([9b6e88b](https://github.com/spaceship-prompt/spaceship-prompt/commit/9b6e88b0d2c1d76961c59c1f5476830a2ce44293))
269
-
270
- ## [3.16.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.16.0...v3.16.1) (2021-11-05)
271
-
272
-
273
- ### Bug Fixes
274
-
275
- * fix aws section bug ([#1089](https://github.com/spaceship-prompt/spaceship-prompt/issues/1089)) ([642f645](https://github.com/spaceship-prompt/spaceship-prompt/commit/642f645d5f3d73504bd4c3045077c0354315c113))
276
-
277
- # [3.16.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.15.0...v3.16.0) (2021-10-25)
278
-
279
-
280
- ### Features
281
-
282
- * **aws:** Add support to aws-vault ([#1078](https://github.com/spaceship-prompt/spaceship-prompt/issues/1078)) ([ca8e8f0](https://github.com/spaceship-prompt/spaceship-prompt/commit/ca8e8f0a7da7b84c0cdeca98aa8351a6cc1f48d2))
283
-
284
- # [3.15.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.14.1...v3.15.0) (2021-10-11)
285
-
286
-
287
- ### Features
288
-
289
- * add IBM Cloud CLI section ([#912](https://github.com/spaceship-prompt/spaceship-prompt/issues/912)) ([6433544](https://github.com/spaceship-prompt/spaceship-prompt/commit/64335447e0b2f250ca6d145a3343a3613853c00a))
290
-
291
- ## [3.14.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.14.0...v3.14.1) (2021-08-30)
292
-
293
-
294
- ### Bug Fixes
295
-
296
- * **docs:** fix discord announcement color ([91af763](https://github.com/spaceship-prompt/spaceship-prompt/commit/91af7638aadb94bb3f2ff8d924d47c4001d07709))
297
-
298
- # [3.14.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.13.4...v3.14.0) (2021-07-28)
299
-
300
-
301
- ### Features
302
-
303
- * **node:** Added support for fnm ([#1058](https://github.com/spaceship-prompt/spaceship-prompt/issues/1058)) ([b92b7d2](https://github.com/spaceship-prompt/spaceship-prompt/commit/b92b7d2ecb8ded6b1a0ff72617f0106bbe8dcc69))
304
-
305
- ## [3.13.4](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.13.3...v3.13.4) (2021-07-28)
306
-
307
-
308
- ### Bug Fixes
309
-
310
- * Prevent unintended output when `dotnet --version` fails ([#1054](https://github.com/spaceship-prompt/spaceship-prompt/issues/1054)) ([d18449a](https://github.com/spaceship-prompt/spaceship-prompt/commit/d18449a93600b20c2b318beafcabb584b4d3c3d5))
311
-
312
- ## [3.13.3](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.13.2...v3.13.3) (2021-07-21)
313
-
314
-
315
- ### Bug Fixes
316
-
317
- * fix maven 3.5.0 bug ([#1053](https://github.com/spaceship-prompt/spaceship-prompt/issues/1053)) ([c24ff52](https://github.com/spaceship-prompt/spaceship-prompt/commit/c24ff52e7a1256900fce9ca6750fdaa9c1958129))
318
-
319
- ## [3.13.2](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.13.1...v3.13.2) (2021-07-12)
320
-
321
-
322
- ### Bug Fixes
323
-
324
- * get GCLOUD_ACTIVE_CONFIG from ENVIRONMENT, if set ([#1046](https://github.com/spaceship-prompt/spaceship-prompt/issues/1046)) ([349240e](https://github.com/spaceship-prompt/spaceship-prompt/commit/349240e01506672380a3c5c5a04343348329dd5b))
325
-
326
- ## [3.13.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.13.0...v3.13.1) (2021-07-12)
327
-
328
-
329
- ### Bug Fixes
330
-
331
- * docker section bug and optimize package section ([#1045](https://github.com/spaceship-prompt/spaceship-prompt/issues/1045)) ([b459a1a](https://github.com/spaceship-prompt/spaceship-prompt/commit/b459a1aabd71f93bf3c3adc1b8a3527ab9da5647))
332
-
333
- # [3.13.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.26...v3.13.0) (2021-07-09)
334
-
335
-
336
- ### Features
337
-
338
- * **package:** add support for package version from lerna.json instead of package.json ([f09b9da](https://github.com/spaceship-prompt/spaceship-prompt/commit/f09b9da70cd6e9f072e68ed02921ee59b515bcbf))
339
-
340
- ## [3.12.26](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.25...v3.12.26) (2021-07-08)
341
-
342
-
343
- ### Bug Fixes
344
-
345
- * **php:** Unalias grep for PHP version ([#1030](https://github.com/spaceship-prompt/spaceship-prompt/issues/1030)) ([354ae0f](https://github.com/spaceship-prompt/spaceship-prompt/commit/354ae0f13192f1da66ad0e21c917ae8859a7e926)), closes [#857](https://github.com/spaceship-prompt/spaceship-prompt/issues/857)
346
-
347
- ## [3.12.8-3.12.25](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.8...v3.12.25) (2021-07-01)
348
-
349
-
350
- ### Bug Fixes
351
-
352
- * **ci:** Attempt to fix release for Homebrew ([a1af3f6](https://github.com/spaceship-prompt/spaceship-prompt/commit/a1af3f60c96a07927fad49ad66d4fd1fe5f73bca))
353
- * **ci:** Move Homebrew formula to a separate job ([741bc3e](https://github.com/spaceship-prompt/spaceship-prompt/commit/741bc3e5b1118379c4c5112f2670e56b04dc5773))
354
- * **ci:** Bump Homebrew only if new releaes is published. Pass tag-name. ([4412f68](https://github.com/spaceship-prompt/spaceship-prompt/commit/4412f68dcb838e130b388613528a6ae47dcf3620))
355
- * **ci:** Fix syntax error in workflow file ([9119f46](https://github.com/spaceship-prompt/spaceship-prompt/commit/9119f461f3058424cf3d0cf794b30d115fa40e99))
356
- * **ci:** Move homebrew to a separate file ([554f065](https://github.com/spaceship-prompt/spaceship-prompt/commit/554f06504138c8d6baf1ad9ba92dd0517c1b71d2))
357
- * **ci:** Attempt to fix Homebrew ([7d17060](https://github.com/spaceship-prompt/spaceship-prompt/commit/7d17060dfd4b4ad7e4dd2214492698b0a1f8b959))
358
- * **ci:** Attempt to fix homebrew with tags as array ([278a87d](https://github.com/spaceship-prompt/spaceship-prompt/commit/278a87d8ef5fb4fbd9699d4bbfe9faebd0941781))
359
- * **ci:** wrap tags in quotes ([742a310](https://github.com/spaceship-prompt/spaceship-prompt/commit/742a310ea72781433d0936c6eb77951c65e46c48))
360
- * **ci:** trigger homebrew on every tag push ([3e40ef8](https://github.com/spaceship-prompt/spaceship-prompt/commit/3e40ef83e93ab1696906b310033aed04b5843fc8))
361
- * **ci:** move homebrew back to ci workflow ([1c90270](https://github.com/spaceship-prompt/spaceship-prompt/commit/1c902701b35d475bd8c79cae7aa3de28c24ed21d))
362
- * **ci:** Update download url for Homebrew ([ab95d19](https://github.com/spaceship-prompt/spaceship-prompt/commit/ab95d19809dc96b76267da45f1a9830a484f5a38))
363
- * **ci:** Update download-url for homebrew once again ([838b68e](https://github.com/spaceship-prompt/spaceship-prompt/commit/838b68eaf7ad41546a525323a5846fa2c560613c))
364
- * **ci:** Try dawidd6/action-homebrew-bump-formula ([002b9f7](https://github.com/spaceship-prompt/spaceship-prompt/commit/002b9f70f29ce56423aebff4d7c55452913c4077))
365
- * **ci:** Try using PAT for publishing releases ([89e52f5](https://github.com/spaceship-prompt/spaceship-prompt/commit/89e52f5d463cf0ba15f319ca27e9d8cf2f642115))
366
- * **ci:** Provide tag-name ([5238054](https://github.com/spaceship-prompt/spaceship-prompt/commit/5238054a97f08a6e4bf41998b70f4a4b9a290194))
367
- * **ci:** Homebrew in separate file. Trigger via PAT ([30d4f74](https://github.com/spaceship-prompt/spaceship-prompt/commit/30d4f74019bc6edaf5e739cc31abeffdfb3f703c))
368
- * **ci:** tags trigger as array ([57e46df](https://github.com/spaceship-prompt/spaceship-prompt/commit/57e46df89bfc79816b4086b383960a08f2d94192))
369
- * **ci:** Try using release as a trigger ([af38f82](https://github.com/spaceship-prompt/spaceship-prompt/commit/af38f82b661ca609146acd43ac5dd483405aa13b))
370
- * **ci:** Add a comment and jobs canceling ([dbfaa0c](https://github.com/spaceship-prompt/spaceship-prompt/commit/dbfaa0cca1e74a209c8adb2805505106946c4075))
371
-
372
- ## [3.12.7](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.6...v3.12.7) (2021-06-30)
373
-
374
-
375
- ### Bug Fixes
376
-
377
- * **ruby:** Update ruby asdf version finder, asdf was updated to print version second ([#864](https://github.com/spaceship-prompt/spaceship-prompt/issues/864)) ([24a75d8](https://github.com/spaceship-prompt/spaceship-prompt/commit/24a75d8a8a5b461fe47f2abc7523a62806e457e2))
378
-
379
- ## [3.12.6](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.5...v3.12.6) (2021-06-17)
380
-
381
-
382
- ### Bug Fixes
383
-
384
- * Revert changes from aaf35d562118e2074d8eaff89c749e1560776e44 ([d35eb19](https://github.com/spaceship-prompt/spaceship-prompt/commit/d35eb1912559dd29ff387376aa62ea27a22c3bd9))
385
-
386
- ## [3.12.5](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.4...v3.12.5) (2021-06-17)
387
-
388
-
389
- ### Bug Fixes
390
-
391
- * Do not add a newline before prompt when terminal opens ([#1016](https://github.com/spaceship-prompt/spaceship-prompt/issues/1016)) ([aaf35d5](https://github.com/spaceship-prompt/spaceship-prompt/commit/aaf35d562118e2074d8eaff89c749e1560776e44))
392
-
393
- ## [3.12.4](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.3...v3.12.4) (2021-06-09)
394
-
395
-
396
- ### Bug Fixes
397
-
398
- * fix maven section bug ([#960](https://github.com/spaceship-prompt/spaceship-prompt/issues/960)) ([1c8348d](https://github.com/spaceship-prompt/spaceship-prompt/commit/1c8348d87329a746a67d9841d0b372317c09fd09))
399
-
400
- ## [3.12.3](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.2...v3.12.3) (2021-06-07)
401
-
402
-
403
- ### Bug Fixes
404
-
405
- * **license:** Fix years in license ([da7984a](https://github.com/spaceship-prompt/spaceship-prompt/commit/da7984aeede599b919c5c551b8b981a12de46312))
406
-
407
- ## [3.12.2](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.1...v3.12.2) (2021-06-07)
408
-
409
-
410
- ### Bug Fixes
411
-
412
- * tweak CI ([#958](https://github.com/spaceship-prompt/spaceship-prompt/issues/958)) ([e9055c2](https://github.com/spaceship-prompt/spaceship-prompt/commit/e9055c2de2ffd72f6d4e568ceb00453afb5f0598))
413
-
414
- ## [3.12.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.12.0...v3.12.1) (2021-06-04)
415
-
416
-
417
- ### Bug Fixes
418
-
419
- * **ci:** Fix typo in .releaserc.json ([4f19ada](https://github.com/spaceship-prompt/spaceship-prompt/commit/4f19ada63c36a41eb144969a684b04b9aafb80d5))
420
- * **ci:** Specify which files to commit on release ([631df26](https://github.com/spaceship-prompt/spaceship-prompt/commit/631df26c6c0e1348d2a9790477cc8e2a38e91850))
421
-
422
- # [3.12.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v3.11.2...v3.12.0) (2021-06-04)
423
-
424
-
425
- ### Bug Fixes
426
-
427
- * **ci:** Fix workflow syntax error ([fcdf5c2](https://github.com/spaceship-prompt/spaceship-prompt/commit/fcdf5c298b50602ed5ebbd54d8d35a09de8e9557))
428
- * **ci:** Remove obsolete Node.js steps ([d74944f](https://github.com/spaceship-prompt/spaceship-prompt/commit/d74944fae7bba847803ea87b2d3b3829454b266f))
429
- * change wrong env variables ([#817](https://github.com/spaceship-prompt/spaceship-prompt/issues/817)) ([1d88d3f](https://github.com/spaceship-prompt/spaceship-prompt/commit/1d88d3f56029364afdcd00f340a15ebf46765080))
430
- * change wrong env variables ([#817](https://github.com/spaceship-prompt/spaceship-prompt/issues/817)) ([56c7e5d](https://github.com/spaceship-prompt/spaceship-prompt/commit/56c7e5d349229e643cf3dd334bd063bb35881c35))
431
- * Fix acpi output bug ([75dd4ff](https://github.com/spaceship-prompt/spaceship-prompt/commit/75dd4ffd63d2e524839869d45b0f29246e2117b2))
432
- * Fix battery section bug because match function is supported at gawk ([#780](https://github.com/spaceship-prompt/spaceship-prompt/issues/780)) ([1266cd9](https://github.com/spaceship-prompt/spaceship-prompt/commit/1266cd9a9544d336090f65060630be2bf78393a1))
433
- * Hardened the Docker context checking logic ([a853780](https://github.com/spaceship-prompt/spaceship-prompt/commit/a8537807f4edd74756805ce6dfb7d1234e75fdc4))
434
- * Hardened the Docker version checking logic ([e075f08](https://github.com/spaceship-prompt/spaceship-prompt/commit/e075f084c093ba289a6328edeb42660d28355e52))
435
- * reformat ([51e6cf3](https://github.com/spaceship-prompt/spaceship-prompt/commit/51e6cf3d4252c635f6b4c4c4d5a18fadde1da1cc))
436
- * typo ([dc5c4d2](https://github.com/spaceship-prompt/spaceship-prompt/commit/dc5c4d2441d982d2505367d3c9af7d5c6f461ae5))
437
-
438
-
439
- ### Features
440
-
441
- * Add Runrioter as a maintainer ([b71f6ae](https://github.com/spaceship-prompt/spaceship-prompt/commit/b71f6ae71da4fe127c272d8824e4bc67786f5846)), closes [#747](https://github.com/spaceship-prompt/spaceship-prompt/issues/747)
442
- * Add semantic release cycle ([#956](https://github.com/spaceship-prompt/spaceship-prompt/issues/956)) ([6220873](https://github.com/spaceship-prompt/spaceship-prompt/commit/622087366a86d0478d6b38b3edb7024c500b9b4f))