From dd62c23c62dffda5bb2025793f4bd2d645a66c59 Mon Sep 17 00:00:00 2001 From: "L. Yeung" Date: Mon, 11 Nov 2024 17:14:15 +0800 Subject: [PATCH] docs: correct default value of `cache_duration` for language segments --- website/docs/segments/languages/crystal.mdx | 2 +- website/docs/segments/languages/dart.mdx | 2 +- website/docs/segments/languages/dotnet.mdx | 2 +- website/docs/segments/languages/elixir.mdx | 2 +- website/docs/segments/languages/golang.mdx | 2 +- website/docs/segments/languages/haskell.mdx | 2 +- website/docs/segments/languages/java.mdx | 2 +- website/docs/segments/languages/julia.mdx | 2 +- website/docs/segments/languages/kotlin.mdx | 2 +- website/docs/segments/languages/lua.mdx | 2 +- website/docs/segments/languages/mojo.mdx | 22 ++++++++++----------- website/docs/segments/languages/node.mdx | 2 +- website/docs/segments/languages/ocaml.mdx | 2 +- website/docs/segments/languages/perl.mdx | 2 +- website/docs/segments/languages/php.mdx | 2 +- website/docs/segments/languages/python.mdx | 2 +- website/docs/segments/languages/r.mdx | 2 +- website/docs/segments/languages/ruby.mdx | 2 +- website/docs/segments/languages/rust.mdx | 2 +- website/docs/segments/languages/swift.mdx | 2 +- website/docs/segments/languages/vala.mdx | 2 +- website/docs/segments/languages/zig.mdx | 2 +- 22 files changed, 32 insertions(+), 32 deletions(-) diff --git a/website/docs/segments/languages/crystal.mdx b/website/docs/segments/languages/crystal.mdx index 1eee409daa94..3d3a91608e2a 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 edf1362e54ba..81baf94af9e9 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 7adb71cbbc51..438694a410b6 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 4cefea2c2183..8a83eb5c9e33 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 c1f6b9f0fa2f..b80d4c715c4c 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 19c6a135eaa3..88f94de3226d 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 aaa816692a00..c08b285743d2 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 b4c68df97fb6..1e09f97aecc0 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 e1501b0f7353..2f4880fd36d2 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 2b796042eb83..9449d7f8e198 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 853c588584f8..762524fd29af 100644 --- a/website/docs/segments/languages/mojo.mdx +++ b/website/docs/segments/languages/mojo.mdx @@ -25,18 +25,18 @@ import Config from "@site/src/components/Config.js"; ## Properties -| Name | Type | Default | Description | -| ---------------------- | :--------: | :------------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not | -| `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` | `24h` | 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` | | -| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | +| Name | Type | Default | Description | +| ---------------------- | :--------: | :-----------------------------: | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `home_enabled` | `boolean` | `false` | display the segment in the HOME folder or not | +| `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` | +| `missing_command_text` | `string` | | text to display when the command is missing | +| `display_mode` | `string` | `environment` | | +| `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `extensions` | `[]string` | `*.🔥, *.mojo, mojoproject.toml` | allows to override the default list of file extensions to validate | -| `folders` | `[]string` | | allows to override the list of folder names to validate | +| `folders` | `[]string` | | allows to override the list of folder names to validate | ## Template ([info][templates]) diff --git a/website/docs/segments/languages/node.mdx b/website/docs/segments/languages/node.mdx index 2b7b1e44327c..65b885d28c2c 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 b89070421081..79d85dc8d1f2 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 1fe5c4e59a9c..8b1c781d2474 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 4f3280d22965..9b8a0ac4ef7a 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 377c560a659f..e9d0afb1bf03 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `environment` | | | `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 f7c999067d1e..2fdc22cb580a 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 a631d552603d..0347d3797992 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 8fc8212a4bd2..974f733e05fa 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 77dffb7cc0f8..56b771698af9 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 033b16226e57..566e1d7316ec 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `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 9663374aad87..508b188d9433 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` | `24h` | 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` | `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` | | `missing_command_text` | `string` | | text to display when the command is missing | | `display_mode` | `string` | `context` | | | `version_url_template` | `string` | | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes |