diff --git a/src/segments/language.go b/src/segments/language.go
index 82b2958a..a64f430c 100644
--- a/src/segments/language.go
+++ b/src/segments/language.go
@@ -241,7 +241,7 @@ func (l *language) setVersion() error {
l.version.Executable = command.executable
if marchalled, err := json.Marshal(l.version); err == nil {
- duration := l.props.GetString(properties.CacheDuration, string(cache.ONEWEEK))
+ duration := l.props.GetString(properties.CacheDuration, string(cache.NONE))
l.env.Cache().Set(cacheKey, string(marchalled), cache.Duration(duration))
}
diff --git a/themes/schema.json b/themes/schema.json
index 3453db1c..4e46cd17 100644
--- a/themes/schema.json
+++ b/themes/schema.json
@@ -1103,7 +1103,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1497,7 +1497,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1556,7 +1556,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1669,7 +1669,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1722,7 +1722,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1774,7 +1774,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1829,7 +1829,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1884,7 +1884,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1945,7 +1945,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -1996,7 +1996,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -2157,7 +2157,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -2613,7 +2613,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -3104,7 +3104,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -3521,7 +3521,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -3880,7 +3880,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -4034,7 +4034,7 @@
"properties": {
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
}
}
}
@@ -4063,7 +4063,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -4193,7 +4193,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -4293,7 +4293,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -4356,7 +4356,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -4459,7 +4459,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -4599,7 +4599,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
@@ -4814,7 +4814,7 @@
},
"cache_duration": {
"$ref": "#/definitions/cache_duration",
- "default": "168h"
+ "default": "none"
},
"display_mode": {
"$ref": "#/definitions/display_mode"
diff --git a/website/docs/segments/languages/crystal.mdx b/website/docs/segments/languages/crystal.mdx
index 3d3a9160..bd0b7e10 100644
--- a/website/docs/segments/languages/crystal.mdx
+++ b/website/docs/segments/languages/crystal.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :---------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the crystal version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` |
- `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/dart.mdx b/website/docs/segments/languages/dart.mdx
index 81baf94a..ef13de55 100644
--- a/website/docs/segments/languages/dart.mdx
+++ b/website/docs/segments/languages/dart.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-----------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the dart version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/dotnet.mdx b/website/docs/segments/languages/dotnet.mdx
index 438694a4..b016c4ce 100644
--- a/website/docs/segments/languages/dotnet.mdx
+++ b/website/docs/segments/languages/dotnet.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :----------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the active version or not; useful if all you need is an icon indicating `dotnet` |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/elixir.mdx b/website/docs/segments/languages/elixir.mdx
index 8a83eb5c..9b471551 100644
--- a/website/docs/segments/languages/elixir.mdx
+++ b/website/docs/segments/languages/elixir.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-----------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the elixir version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/golang.mdx b/website/docs/segments/languages/golang.mdx
index b80d4c71..8638b9c1 100644
--- a/website/docs/segments/languages/golang.mdx
+++ b/website/docs/segments/languages/golang.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the golang version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/haskell.mdx b/website/docs/segments/languages/haskell.mdx
index 88f94de3..b7d430d1 100644
--- a/website/docs/segments/languages/haskell.mdx
+++ b/website/docs/segments/languages/haskell.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-------------------------------------------------------------: | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the GHC version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/java.mdx b/website/docs/segments/languages/java.mdx
index c08b2857..083a3785 100644
--- a/website/docs/segments/languages/java.mdx
+++ b/website/docs/segments/languages/java.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :----------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the java version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/julia.mdx b/website/docs/segments/languages/julia.mdx
index 1e09f97a..4aeb238a 100644
--- a/website/docs/segments/languages/julia.mdx
+++ b/website/docs/segments/languages/julia.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the julia version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/kotlin.mdx b/website/docs/segments/languages/kotlin.mdx
index 2f4880fd..024cdf4b 100644
--- a/website/docs/segments/languages/kotlin.mdx
+++ b/website/docs/segments/languages/kotlin.mdx
@@ -31,7 +31,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the kotlin version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/lua.mdx b/website/docs/segments/languages/lua.mdx
index 9449d7f8..91712851 100644
--- a/website/docs/segments/languages/lua.mdx
+++ b/website/docs/segments/languages/lua.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-----------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the lua version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/mojo.mdx b/website/docs/segments/languages/mojo.mdx
index 762524fd..7ba56d63 100644
--- a/website/docs/segments/languages/mojo.mdx
+++ b/website/docs/segments/languages/mojo.mdx
@@ -31,7 +31,7 @@ import Config from "@site/src/components/Config.js";
| `fetch_virtual_env` | `boolean` | `true` | fetch the name of the virtualenv or not |
| `display_default` | `boolean` | `true` | show the name of the virtualenv when it's equal to `default` or not |
| `fetch_version` | `boolean` | `true` | fetch the Mojo version or not |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `environment` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `environment`: the segment is only displayed when in a virtual environment
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/node.mdx b/website/docs/segments/languages/node.mdx
index 65b885d2..6c55b97a 100644
--- a/website/docs/segments/languages/node.mdx
+++ b/website/docs/segments/languages/node.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ----------------------- | :--------: | :--------------------------------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the Node.js version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/ocaml.mdx b/website/docs/segments/languages/ocaml.mdx
index 79d85dc8..01c73cce 100644
--- a/website/docs/segments/languages/ocaml.mdx
+++ b/website/docs/segments/languages/ocaml.mdx
@@ -28,7 +28,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-----------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | display the ocaml version (`ocaml -version`) |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/perl.mdx b/website/docs/segments/languages/perl.mdx
index 8b1c781d..7d0de55e 100644
--- a/website/docs/segments/languages/perl.mdx
+++ b/website/docs/segments/languages/perl.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the perl version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/php.mdx b/website/docs/segments/languages/php.mdx
index 9b8a0ac4..ab1408df 100644
--- a/website/docs/segments/languages/php.mdx
+++ b/website/docs/segments/languages/php.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the php version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/python.mdx b/website/docs/segments/languages/python.mdx
index e9d0afb1..dd511ae3 100644
--- a/website/docs/segments/languages/python.mdx
+++ b/website/docs/segments/languages/python.mdx
@@ -32,7 +32,7 @@ import Config from "@site/src/components/Config.js";
| `fetch_virtual_env` | `boolean` | `true` | fetch the name of the virtualenv or not |
| `display_default` | `boolean` | `true` | show the name of the virtualenv when it's default (`system`, `base`) or not |
| `fetch_version` | `boolean` | `true` | fetch the python version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `environment` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `environment`: the segment is only displayed when in a virtual environment
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/r.mdx b/website/docs/segments/languages/r.mdx
index 2fdc22cb..bdb0aa90 100644
--- a/website/docs/segments/languages/r.mdx
+++ b/website/docs/segments/languages/r.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :----------------------------------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the R version or not |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/ruby.mdx b/website/docs/segments/languages/ruby.mdx
index 0347d379..a1eabb62 100644
--- a/website/docs/segments/languages/ruby.mdx
+++ b/website/docs/segments/languages/ruby.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-----------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the ruby version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/rust.mdx b/website/docs/segments/languages/rust.mdx
index 974f733e..3eace4aa 100644
--- a/website/docs/segments/languages/rust.mdx
+++ b/website/docs/segments/languages/rust.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :----------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the rust version (`rustc --version`) |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/swift.mdx b/website/docs/segments/languages/swift.mdx
index 56b77169..e77ce8ad 100644
--- a/website/docs/segments/languages/swift.mdx
+++ b/website/docs/segments/languages/swift.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-------------------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the swift version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/vala.mdx b/website/docs/segments/languages/vala.mdx
index 566e1d73..efd87585 100644
--- a/website/docs/segments/languages/vala.mdx
+++ b/website/docs/segments/languages/vala.mdx
@@ -29,7 +29,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :-------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the vala version |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |
diff --git a/website/docs/segments/languages/zig.mdx b/website/docs/segments/languages/zig.mdx
index 508b188d..1d2f7c94 100644
--- a/website/docs/segments/languages/zig.mdx
+++ b/website/docs/segments/languages/zig.mdx
@@ -30,7 +30,7 @@ import Config from "@site/src/components/Config.js";
| ---------------------- | :--------: | :------------: | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not |
| `fetch_version` | `boolean` | `true` | fetch the zig version (`zig version`) |
-| `cache_duration` | `string` | `168h` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
+| `cache_duration` | `string` | `none` | the duration for which the version will be cached. The duration is a string in the format `1h2m3s` and is parsed using the [time.ParseDuration] function from the Go standard library. To disable the cache, use `none` |
| `missing_command_text` | `string` | | text to display when the command is missing |
| `display_mode` | `string` | `context` | - `always`: the segment is always displayed
- `files`: the segment is only displayed when file `extensions` listed are present
- `context`: displays the segment when the environment or files is active
|
| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |