spaceship-prompt 4.2.0 → 4.2.3
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/CHANGELOG.md +21 -0
- package/package.json +1 -1
- package/sections/julia.zsh +2 -1
- package/spaceship.zsh +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,24 @@
|
|
|
1
|
+
## [4.2.3](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.2...v4.2.3) (2022-09-05)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 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))
|
|
7
|
+
|
|
8
|
+
## [4.2.2](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.1...v4.2.2) (2022-09-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **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)
|
|
14
|
+
|
|
15
|
+
## [4.2.1](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.2.0...v4.2.1) (2022-09-05)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* 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)
|
|
21
|
+
|
|
1
22
|
# [4.2.0](https://github.com/spaceship-prompt/spaceship-prompt/compare/v4.1.0...v4.2.0) (2022-09-02)
|
|
2
23
|
|
|
3
24
|
|
package/package.json
CHANGED
package/sections/julia.zsh
CHANGED
|
@@ -24,7 +24,8 @@ spaceship_julia() {
|
|
|
24
24
|
[[ $SPACESHIP_JULIA_SHOW == false ]] && return
|
|
25
25
|
|
|
26
26
|
# If there are julia files in current directory
|
|
27
|
-
|
|
27
|
+
local is_julia_project="$(spaceship::upsearch Project.toml JuliaProject.toml Manifest.toml)"
|
|
28
|
+
[[ -n "$is_julia_project" || -n *.jl(#qN^/) ]] || return
|
|
28
29
|
|
|
29
30
|
spaceship::exists julia || return
|
|
30
31
|
|
package/spaceship.zsh
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
# Current version of Spaceship
|
|
9
9
|
# Useful for issue reporting
|
|
10
|
-
export SPACESHIP_VERSION='4.2.
|
|
10
|
+
export SPACESHIP_VERSION='4.2.3'
|
|
11
11
|
|
|
12
12
|
# Determination of Spaceship working directory
|
|
13
13
|
# https://git.io/vdBH7
|
|
@@ -97,7 +97,7 @@ SPACESHIP_PROMPT_DEFAULT_SUFFIX="${SPACESHIP_PROMPT_DEFAULT_SUFFIX=" "}"
|
|
|
97
97
|
# Spaceship utils/hooks/etc
|
|
98
98
|
# ------------------------------------------------------------------------------
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
typeset -r SPACESHIP_LIBS=(
|
|
101
101
|
"lib/utils.zsh" # General porpuse utils
|
|
102
102
|
"lib/cache.zsh" # Cache utils
|
|
103
103
|
"lib/hooks.zsh" # Zsh hooks
|