summaryrefslogtreecommitdiffstats
path: root/docs/ja-JP/config/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ja-JP/config/README.md')
-rw-r--r--docs/ja-JP/config/README.md592
1 files changed, 360 insertions, 232 deletions
diff --git a/docs/ja-JP/config/README.md b/docs/ja-JP/config/README.md
index 56e668916..36136cd78 100644
--- a/docs/ja-JP/config/README.md
+++ b/docs/ja-JP/config/README.md
@@ -21,16 +21,16 @@ success_symbol = "[➜](bold green)" # 「success_symbol」セグメント
disabled = true
```
-`STARSHIP_CONFIG` 環境変数を使用して、デフォルトの`starship.toml` ファイルの場所を変更できます。
+You can change default configuration file location with `STARSHIP_CONFIG` environment variable:
```sh
-export STARSHIP_CONFIG=~/.starship
+export STARSHIP_CONFIG=~/.starship/config.toml
```
PowerShell (Windows) で同様に `$PROFILE`にこの行を追加します。
```powershell
-$ENV:STARSHIP_CONFIG = "$HOME\.starship"
+$ENV:STARSHIP_CONFIG = "$HOME\.starship\config.toml"
```
### ロギング
@@ -228,6 +228,7 @@ $jobs\
$battery\
$time\
$status\
+$shell\
$character"""
```
@@ -424,19 +425,22 @@ vicmd_symbol = "[V](bold green) "
## CMake
-The `cmake` module shows the currently installed version of CMake if any of the following conditions are met:
+The `cmake` module shows the currently installed version of CMake. By default the module will be activated if any of the following conditions are met:
- The current directory contains a `CMakeLists.txt` file
- The current directory contains a `CMakeCache.txt` file
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | -------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
-| `style` | `"bold blue"` | モジュールのスタイルです。 |
-| `disabled` | `false` | Disables the `cmake` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | -------------------------------------- | -------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `symbol` | `"喝 "` | The symbol used before the version of cmake. |
+| `detect_extensions` | `[]` | Which extensions should trigger this moudle |
+| `detect_files` | `["CMakeLists.txt", "CMakeCache.txt"]` | Which filenames should trigger this module |
+| `detect_folders` | `[]` | Which folders should trigger this module |
+| `style` | `"bold blue"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `cmake` module. |
### 変数
@@ -539,19 +543,22 @@ format = "[$symbol$environment](dimmed green) "
## Crystal
-`crystal`モジュールには、現在インストールされているCrystalのバージョンが表示されます。 次の条件のいずれかが満たされると、モジュールが表示されます。
+`crystal`モジュールには、現在インストールされているCrystalのバージョンが表示されます。 By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`shard.yml`ファイルが含まれている
- カレントディレクトリに`.cr`の拡張子のファイルが含まれている
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | ------------------------------ |
-| `symbol` | `"🔮 "` | Crystalのバージョンを表示する前に使用される記号です。 |
-| `style` | `"bold red"` | モジュールのスタイルです。 |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `disabled` | `false` | `crystal`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------ | -------------------------------------------- |
+| `symbol` | `"🔮 "` | Crystalのバージョンを表示する前に使用される記号です。 |
+| `style` | `"bold red"` | モジュールのスタイルです。 |
+| `detect_extensions` | `["cr"]` | Which extensions should trigger this module. |
+| `detect_files` | `["shard.yml"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `disabled` | `false` | Disables the `crystal` module. |
### 変数
@@ -574,20 +581,23 @@ format = "via [✨ $version](bold blue) "
## Dart
-The `dart` module shows the currently installed version of Dart. 次の条件のいずれかが満たされると、モジュールが表示されます。
+The `dart` module shows the currently installed version of Dart. By default the module will be shown if any of the following conditions are met:
- The current directory contains a file with `.dart` extension
- The current directory contains a `.dart_tool` directory
-- カレントディレクトリに`pubspec.yaml`, もしくは`pubspec.lock`ファイルが含まれている
+- The current directory contains a `pubspec.yaml`, `pubspec.yml` or `pubspec.lock` file
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | ----------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"🎯 "` | A format string representing the symbol of Dart |
-| `style` | `"bold blue"` | モジュールのスタイルです。 |
-| `disabled` | `false` | Disables the `dart` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------------------- | ----------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `symbol` | `"🎯 "` | A format string representing the symbol of Dart |
+| `detect_extensions` | `['dart']` | Which extensions should trigger this moudle. |
+| `detect_files` | `["pubspec.yaml", "pubspec.yml", "pubspec.lock"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[".dart_tool"]` | Which folders should trigger this module. |
+| `style` | `"bold blue"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `dart` module. |
### 変数
@@ -633,11 +643,11 @@ fishスタイルのpwdオプションを使用すると、切り捨てられた
<details>
<summary>このモジュールは、どのようにディレクトリを表示するかについての高度なオプションをいくつか持っています。</summary>
-| Advanced Option | デフォルト | 説明 |
-| --------------------------- | ------ | ------------------------------------------------ |
-| `substitutions` | | A table of substitutions to be made to the path. |
-| `fish_style_pwd_dir_length` | `0` | fish shellのpwdパスロジックを適用するときに使用する文字数です。 |
-| `use_logical_path` | `true` | OSからのパスの代わりに、シェル(`PWD`) によって提供される論理パスを表示します。 |
+| Advanced Option | デフォルト | 説明 |
+| --------------------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `substitutions` | | A table of substitutions to be made to the path. |
+| `fish_style_pwd_dir_length` | `0` | fish shellのpwdパスロジックを適用するときに使用する文字数です。 |
+| `use_logical_path` | `true` | If `true` render the logical path sourced from the shell via `PWD` or `--logical-path`. If `false` instead render the physical filesystem path with symlinks resolved. |
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories (i.e. Java). Note that this will disable the fish style PWD.
@@ -676,13 +686,16 @@ truncation_symbol = "…/"
### オプション
-| オプション | デフォルト | 説明 |
-| ----------------- | ---------------------------------- | --------------------------------------------------------------------------------------------------------------- |
-| `format` | `"via [$symbol$context]($style) "` | moduleのフォーマットです。 |
-| `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. |
-| `style` | `"blue bold"` | モジュールのスタイルです。 |
-| `only_with_files` | `true` | Only show when there's a `docker-compose.yml`, `docker-compose.yaml`, or `Dockerfile` in the current directory. |
-| `disabled` | `false` | `docker_context`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
+| `format` | `"via [$symbol$context]($style) "` | moduleのフォーマットです。 |
+| `symbol` | `"🐳 "` | The symbol used before displaying the Docker context. |
+| `only_with_files` | `true` | Only show when there's a match |
+| `detect_extensions` | `[]` | Which extensions should trigger this module (needs `only_with_files` to be true). |
+| `detect_files` | `["docker-compose.yml", "docker-compose.yaml", "Dockerfile"]` | Which filenames should trigger this module (needs `only_with_files` to be true). |
+| `detect_folders` | `[]` | Which folders should trigger this module (needs `only_with_files` to be true). |
+| `style` | `"blue bold"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `docker_context` module. |
### 変数
@@ -707,7 +720,7 @@ format = "via [🐋 $context](blue bold)"
`dotnet` モジュールはカレントディレクトリに関係する.NET Core SDKのバージョンを表示します。 もし SDKは現在のディレクトリに固定されているのであれば、その固定されたバージョンが表示されます。 それ以外の場合、モジュール SDKの最新のインストールバージョンを示します。
-This module will only be shown in your prompt when one or more of the following files are present in the current directory:
+By default this module will only be shown in your prompt when one or more of the following files are present in the current directory:
- `global.json`
- `project.json`
@@ -727,13 +740,16 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
### オプション
-| オプション | デフォルト | 説明 |
-| ----------- | ----------------------------------------- | ------------------------------------ |
-| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `•NET "` | dotnetのバージョンを表示する前に使用される記号です。 |
-| `heuristic` | `true` | より高速なバージョン検出を使用して、starshipの動作を維持します。 |
-| `style` | `"bold blue"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `dotnet`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------------------------------------------------------------------------- | -------------------------------------------- |
+| `format` | `"[$symbol($version )(🎯 $tfm )]($style)"` | moduleのフォーマットです。 |
+| `symbol` | `•NET "` | dotnetのバージョンを表示する前に使用される記号です。 |
+| `heuristic` | `true` | より高速なバージョン検出を使用して、starshipの動作を維持します。 |
+| `detect_extensions` | `["sln", "csproj", "fsproj", "xproj"]` | Which extensions should trigger this module. |
+| `detect_files` | `["global.json", "project.json", "Directory.Build.props", "Directory.Build.targets", "Packages.props"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `style` | `"bold blue"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `dotnet` module. |
### 変数
@@ -759,18 +775,21 @@ heuristic = false
## Elixir
-The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. 次の条件のいずれかが満たされると、モジュールが表示されます。
+The `elixir` module shows the currently installed version of Elixir and Erlang/OTP. By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`mix.exs`ファイルが含まれている.
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ----------------------------------------------------------- | --------------------------------------------------------------- |
-| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
-| `style` | `"bold purple"` | モジュールのスタイルです。 |
-| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. |
-| `disabled` | `false` | Disables the `elixir` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ----------------------------------------------------------- | --------------------------------------------------------------- |
+| `symbol` | `"💧 "` | The symbol used before displaying the version of Elixir/Erlang. |
+| `detect_extensions` | `[]` | Which extensions should trigger this module. |
+| `detect_files` | `["mix.exs"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `style` | `"bold purple"` | モジュールのスタイルです。 |
+| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | The format for the module elixir. |
+| `disabled` | `false` | Disables the `elixir` module. |
### 変数
@@ -794,7 +813,7 @@ symbol = "🔮 "
## Elm
-`elm`モジュールは、現在インストールされているElmのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
+`elm`モジュールは、現在インストールされているElmのバージョンを示します。 By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`elm.json`ファイルが含まれている
- カレントディレクトリに`elm-package.json`ファイルが含まれている
@@ -804,12 +823,15 @@ symbol = "🔮 "
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | ----------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"🌳 "` | A format string representing the symbol of Elm. |
-| `style` | `"cyan bold"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `elm`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | -------------------------------------------------- | ----------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `symbol` | `"🌳 "` | A format string representing the symbol of Elm. |
+| `detect_extensions` | `["elm"]` | Which extensions should trigger this module. |
+| `detect_files` | `["elm.json", "elm-package.json", ".elm-version"]` | Which filenames should trigger this module. |
+| `detect_folders` | `["elm-stuff"]` | Which folders should trigger this modules. |
+| `style` | `"cyan bold"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `elm` module. |
### 変数
@@ -869,19 +891,22 @@ default = "unknown shell"
## Erlang
-The `erlang` module shows the currently installed version of Erlang/OTP. 次の条件のいずれかが満たされると、モジュールが表示されます。
+The `erlang` module shows the currently installed version of Erlang/OTP. By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`rebar.config`ファイルが含まれている.
- カレントディレクトリに`erlang.mk`ファイルが含まれている.
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | -------------------------------------------------------- |
-| `symbol` | `" "` | The symbol used before displaying the version of erlang. |
-| `style` | `"bold red"` | モジュールのスタイルです。 |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `disabled` | `false` | Disables the `erlang` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------ | -------------------------------------------------------- |
+| `symbol` | `" "` | The symbol used before displaying the version of erlang. |
+| `style` | `"bold red"` | モジュールのスタイルです。 |
+| `detect_extensions` | `[]` | Which extensions should trigger this module. |
+| `detect_files` | `["rebar.config", "elang.mk"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `disabled` | `false` | Disables the `erlang` module. |
### 変数
@@ -1162,7 +1187,7 @@ behind = "⇣${count}"
## Golang
-`golang`モジュールは、現在インストールされているGolangのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
+`golang`モジュールは、現在インストールされているGolangのバージョンを示します。 By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`go.mod`ファイルが含まれている
- カレントディレクトリに`go.sum`ファイルが含まれている
@@ -1175,12 +1200,15 @@ behind = "⇣${count}"
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | ---------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"🐹 "` | A format string representing the symbol of Go. |
-| `style` | `"bold cyan"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `golang`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------------------------------------------------ | ---------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `symbol` | `"🐹 "` | A format string representing the symbol of Go. |
+| `detect_extensions` | `["go"]` | Which extensions should trigger this moudle. |
+| `detect_files` | `["go.mod", "go.sum", "glide.yaml", "Gopkg.yml", "Gopkg.lock", ".go-version"]` | Which filenames should trigger this module. |
+| `detect_folders` | `["Godeps"]` | Which folders should trigger this module. |
+| `style` | `"bold cyan"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `golang` module. |
### 変数
@@ -1203,19 +1231,22 @@ format = "via [🏎💨 $version](bold cyan) "
## Helm
-The `helm` module shows the currently installed version of Helm. 次の条件のいずれかが満たされると、モジュールが表示されます。
+The `helm` module shows the currently installed version of Helm. By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`helmfile.yaml`ファイルが含まれている
- The current directory contains a `Chart.yaml` file
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | ------------------------------------------------ |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"⎈ "` | A format string representing the symbol of Helm. |
-| `style` | `"bold white"` | モジュールのスタイルです。 |
-| `disabled` | `false` | Disables the `helm` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------ | ------------------------------------------------ |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `detect_extensions` | `[]` | Which extensions should trigger this module. |
+| `detect_files` | `["helmfile.yaml", "Chart.yaml"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `symbol` | `"⎈ "` | A format string representing the symbol of Helm. |
+| `style` | `"bold white"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `helm` module. |
### 変数
@@ -1273,19 +1304,22 @@ disabled = false
## Java
-`java`モジュールは、現在インストールされているJavaのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
+`java`モジュールは、現在インストールされているJavaのバージョンを示します。 By default the module will be shown if any of the following conditions are met:
- The current directory contains a `pom.xml`, `build.gradle.kts`, `build.sbt`, `.java-version`, `.deps.edn`, `project.clj`, or `build.boot` file
- The current directory contains a file with the `.java`, `.class`, `.gradle`, `.jar`, `.clj`, or `.cljc` extension
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ---------------------------------------- | ----------------------------------------------- |
-| `format` | `"via [${symbol}(${version} )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"☕ "` | A format string representing the symbol of Java |
-| `style` | `"red dimmed"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `java`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | --------------------------------------------------------------------------------------------------------- | ----------------------------------------------- |
+| `format` | `"via [${symbol}(${version} )]($style)"` | moduleのフォーマットです。 |
+| `detect_extensions` | `["java", "class", "gradle", "jar", "cljs", "cljc"]` | Which extensions should trigger this module. |
+| `detect_files` | `["pom.xml", "build.gradle.kts", "build.sbt", ".java-version", ".deps.edn", "project.clj", "build.boot"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `symbol` | `"☕ "` | A format string representing the symbol of Java |
+| `style` | `"red dimmed"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `java` module. |
### 変数
@@ -1342,7 +1376,7 @@ threshold = 4
## Julia
-`julia`モジュールは、現在インストールされているJuliaのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
+`julia`モジュールは、現在インストールされているJuliaのバージョンを示します。 By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`Project.toml`ファイルが含まれている
- カレントディレクトリに`Manifest.toml`ファイルが含まれている
@@ -1350,12 +1384,15 @@ threshold = 4
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | ------------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"ஃ "` | A format string representing the symbol of Julia. |
-| `style` | `"bold purple"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `julia`モジュールを無効にします。 |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------ | ------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `detect_extensions` | `["jl"]` | Which extensions should trigger this module. |
+| `detect_files` | `["Project.toml", "Manifest.toml"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `symbol` | `"ஃ "` | A format string representing the symbol of Julia. |
+| `style` | `"bold purple"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `julia` module. |
### 変数
@@ -1378,19 +1415,22 @@ symbol = "∴ "
## Kotlin
-The `kotlin` module shows the currently installed version of Kotlin. 次の条件のいずれかが満たされると、モジュールが表示されます。
+The `kotlin` module shows the currently installed version of Kotlin. By default the module will be shown if any of the following conditions are met:
- The current directory contains a `.kt` or a `.kts` file
### オプション
-| オプション | デフォルト | 説明 |
-| --------------- | ------------------------------------ | ----------------------------------------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"🅺 "` | A format string representing the symbol of Kotlin. |
-| `style` | `"bold blue"` | モジュールのスタイルです。 |
-| `kotlin_binary` | `"kotlin"` | Configures the kotlin binary that Starship executes when getting the version. |
-| `disabled` | `false` | Disables the `kotlin` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------ | ----------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `detect_extensions` | `["kt", "kts"]` | Which extensions should trigger this module. |
+| `detect_files` | `[]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this modules. |
+| `symbol` | `"🅺 "` | A format string representing the symbol of Kotlin. |
+| `style` | `"bold blue"` | モジュールのスタイルです。 |
+| `kotlin_binary` | `"kotlin"` | Configures the kotlin binary that Starship executes when getting the version. |
+| `disabled` | `false` | Disables the `kotlin` module. |
### 変数
@@ -1483,7 +1523,7 @@ disabled = true
## Lua
-The `lua` module shows the currently installed version of Lua. 次の条件のいずれかが満たされると、モジュールが表示されます。
+The `lua` module shows the currently installed version of Lua. By default the module will be shown if any of the following conditions are met:
- The current directory contains a `.lua-version` file
- The current directory contains a `lua` directory
@@ -1491,13 +1531,16 @@ The `lua` module shows the currently installed version of Lua. 次の条件の
### オプション
-| オプション | デフォルト | 説明 |
-| ------------ | ------------------------------------ | -------------------------------------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
-| `symbol` | `"🌙 "` | A format string representing the symbol of Lua. |
-| `style` | `"bold blue"` | モジュールのスタイルです。 |
-| `lua_binary` | `"lua"` | Configures the lua binary that Starship executes when getting the version. |
-| `disabled` | `false` | Disables the `lua` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------ | -------------------------------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
+| `symbol` | `"🌙 "` | A format string representing the symbol of Lua. |
+| `detect_extensions` | `["lua"]` | Which extensions should trigger this moudle. |
+| `detect_files` | `[".lua-version"]` | Which filenames should trigger this module. |
+| `detect_folders` | `["lua"]` | Which folders should trigger this module. |
+| `style` | `"bold blue"` | モジュールのスタイルです。 |
+| `lua_binary` | `"lua"` | Configures the lua binary that Starship executes when getting the version. |
+| `disabled` | `false` | Disables the `lua` module. |
### 変数
@@ -1604,7 +1647,7 @@ truncation_symbol = ""
## Nim
-The `nim` module shows the currently installed version of Nim. 次の条件のいずれかが満たされると、モジュールが表示されます。
+The `nim` module shows the currently installed version of Nim. By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`nim.cfg`ファイルが含まれている
- The current directory contains a file with the `.nim` extension
@@ -1613,12 +1656,15 @@ The `nim` module shows the currently installed version of Nim. 次の条件の
### オプション
-| オプション | デフォルト | 説明 |
-| ---------- | ------------------------------------ | ----------------------------------------------------- |
-| `format` | `"via [$symbol($version )]($style)"` | The format for the module |
-| `symbol` | `"👑 "` | The symbol used before displaying the version of Nim. |
-| `style` | `"bold yellow"` | モジュールのスタイルです。 |
-| `disabled` | `false` | Disables the `nim` module. |
+| オプション | デフォルト | 説明 |
+| ------------------- | ------------------------------------ | ----------------------------------------------------- |
+| `format` | `"via [$symbol($version )]($style)"` | The format for the module |
+| `symbol` | `"👑 "` | The symbol used before displaying the version of Nim. |
+| `detect_extensions` | `["nim", "nims", "nimble"]` | Which extensions should trigger this moudle. |
+| `detect_files` | `["nim.cfg"]` | Which filenames should trigger this module. |
+| `detect_folders` | `[]` | Which folders should trigger this module. |
+| `style` | `"bold yellow"` | モジュールのスタイルです。 |
+| `disabled` | `false` | Disables the `nim` module. |
### 変数
@@ -1680,7 +1726,7 @@ format = 'via [☃️ $state( \($name\))](bold blue) '
## NodeJS
-`nodejs`モジュールは、現在インストールされているNodeJSのバージョンを示します。 次の条件のいずれかが満たされると、モジュールが表示されます。
+`nodejs`モジュールは、現在インストールされているNodeJSのバージョンを示します。 By default the module will be shown if any of the following conditions are met:
- カレントディレクトリに`package.json`ファイルが含まれている
- The current directory contains a `.node-version` file
@@ -1694,8 +1740,11 @@ format = 'via [☃️ $state( \($name\))](bold blue) '
| ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------------------------- |
| `format` | `"via [$symbol($version )]($style)"` | moduleのフォーマットです。 |
| `symbol` | `"⬢ "` | A format string representing the symbol of NodeJS. |
+| `detect_extensions` | `["js", "mjs", "cjs", "ts"]` | Which extensions should trigger this moudle. |
+| `detect_files` | `["package.json", ".node-version"]` | Which filenames should trigger this module. |
+| `detect_folders` | `["node_modules"]` | Which folders should trigger this module. |
| `style` | `"bold green"` | モジュールのスタイルです。 |
-| `disabled` | `false` | `nodejs`モジュールを無効にします。 |
+| `disabled` | `false`