spaceship-prompt 4.22.3 → 4.22.4
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 +1 -1
- package/sections/dart.zsh +1 -1
- package/spaceship.zsh +1 -1
package/package.json
CHANGED
package/sections/dart.zsh
CHANGED
|
@@ -29,7 +29,7 @@ spaceship_dart() {
|
|
|
29
29
|
# The version can have the following patterns:
|
|
30
30
|
# dart-sdk > Dart SDK version: 2.19.0-edge.efb509c114dcaf54d0a011f717b48893d71ec9c3 (be) (Thu Sep 29 01:58:56 2022 +0000) on "macos_x64"
|
|
31
31
|
# flutter bundle > Dart SDK version: 2.18.1 (stable) (Tue Sep 13 11:42:55 2022 +0200) on "macos_x64"
|
|
32
|
-
local dart_version=$(dart --version | awk '{sub(/-.*/, "", $4); print $4}')
|
|
32
|
+
local dart_version=$(dart --version | awk '{ if ($1 ~ /^Dart/) {sub(/-.*/, "", $4); print $4} }')
|
|
33
33
|
|
|
34
34
|
spaceship::section \
|
|
35
35
|
--color "$SPACESHIP_DART_COLOR" \
|
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.22.
|
|
11
|
+
export SPACESHIP_VERSION='4.22.4'
|
|
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)
|