You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/ar-SA/README.md
+13
Original file line number
Diff line number
Diff line change
@@ -138,3 +138,16 @@ description: Starship is the minimal, blazing fast, and extremely customizable p
138
138
139
139
eval`starship init tcsh`
140
140
```
141
+
142
+
#### Nushell
143
+
144
+
::: warning This will change in the future. Only nu version v0.33 or higher is supported. ::: Add the following to your nu config file. You can check the location of this file by running `config path` in nu.
145
+
146
+
```toml
147
+
startup = [
148
+
"mkdir ~/.cache/starship",
149
+
"starship init nu | save ~/.cache/starship/init.nu",
Copy file name to clipboardexpand all lines: docs/ar-SA/config/README.md
+47-6
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ A conditional format string wrapped in `(` and `)` will not render if all variab
102
102
103
103
For example:
104
104
105
-
-`(@$region)` will show nothing if the variable `region` is `None`, otherwise `@` followed by the value of region.
105
+
-`(@$region)` will show nothing if the variable `region` is `None` or empty string, otherwise `@` followed by the value of region.
106
106
-`(some text)` will always show nothing since there are no variables wrapped in the braces.
107
107
- When `$all` is a shortcut for `\[$a$b\]`, `($all)` will show nothing only if `$a` and `$b` are both `None`. This works the same as `(\[$a$b\] )`.
108
108
@@ -185,6 +185,7 @@ $vcsh\
185
185
$git_branch\
186
186
$git_commit\
187
187
$git_state\
188
+
$git_metrics\
188
189
$git_status\
189
190
$hg_branch\
190
191
$docker_context\
@@ -391,7 +392,7 @@ By default it only changes color. If you also want to change its shape take a lo
391
392
392
393
::: warning
393
394
394
-
`error_symbol` is not supported on elvish shell.
395
+
`error_symbol` is not supported on elvish and nu shell.
395
396
396
397
:::
397
398
@@ -745,7 +746,7 @@ truncation_symbol = "…/"
745
746
746
747
## Docker Context
747
748
748
-
The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default`.
749
+
The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default` or if the `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
749
750
750
751
### Options
751
752
@@ -804,7 +805,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
Copy file name to clipboardexpand all lines: docs/ar-SA/guide/README.md
+14
Original file line number
Diff line number
Diff line change
@@ -263,6 +263,20 @@
263
263
eval`starship init tcsh`
264
264
```
265
265
266
+
267
+
#### Nushell
268
+
269
+
**Warning** This will change in the future. Only nu version v0.33 or higher is supported. Add the following to your nu config file. You can check the location of this file by running `config path` in nu.
270
+
271
+
```toml
272
+
startup = [
273
+
"mkdir ~/.cache/starship",
274
+
"starship init nu | save ~/.cache/starship/init.nu",
275
+
"source ~/.cache/starship/init.nu"
276
+
]
277
+
prompt = "starship_prompt"
278
+
```
279
+
266
280
## 🤝 Contributing
267
281
268
282
We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
Copy file name to clipboardexpand all lines: docs/ckb-IR/README.md
+13
Original file line number
Diff line number
Diff line change
@@ -138,3 +138,16 @@ description: 'Starship: یەکێ لە promptـە سوکەڵە، خێرا، و ب
138
138
139
139
eval`starship init tcsh`
140
140
```
141
+
142
+
#### Nushell
143
+
144
+
::: warning This will change in the future. Only nu version v0.33 or higher is supported. ::: Add the following to your nu config file. You can check the location of this file by running `config path` in nu.
145
+
146
+
```toml
147
+
startup = [
148
+
"mkdir ~/.cache/starship",
149
+
"starship init nu | save ~/.cache/starship/init.nu",
Copy file name to clipboardexpand all lines: docs/ckb-IR/config/README.md
+47-6
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ A conditional format string wrapped in `(` and `)` will not render if all variab
102
102
103
103
For example:
104
104
105
-
-`(@$region)` will show nothing if the variable `region` is `None`, otherwise `@` followed by the value of region.
105
+
-`(@$region)` will show nothing if the variable `region` is `None` or empty string, otherwise `@` followed by the value of region.
106
106
-`(some text)` will always show nothing since there are no variables wrapped in the braces.
107
107
- When `$all` is a shortcut for `\[$a$b\]`, `($all)` will show nothing only if `$a` and `$b` are both `None`. This works the same as `(\[$a$b\] )`.
108
108
@@ -185,6 +185,7 @@ $vcsh\
185
185
$git_branch\
186
186
$git_commit\
187
187
$git_state\
188
+
$git_metrics\
188
189
$git_status\
189
190
$hg_branch\
190
191
$docker_context\
@@ -391,7 +392,7 @@ By default it only changes color. If you also want to change its shape take a lo
391
392
392
393
::: warning
393
394
394
-
`error_symbol` is not supported on elvish shell.
395
+
`error_symbol` is not supported on elvish and nu shell.
395
396
396
397
:::
397
398
@@ -745,7 +746,7 @@ truncation_symbol = "…/"
745
746
746
747
## Docker Context
747
748
748
-
The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default`.
749
+
The `docker_context` module shows the currently active [Docker context](https://docs.docker.com/engine/context/working-with-contexts/) if it's not set to `default` or if the `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
749
750
750
751
### Options
751
752
@@ -804,7 +805,7 @@ The module will also show the Target Framework Moniker (<https://docs.microsoft.
Copy file name to clipboardexpand all lines: docs/ckb-IR/guide/README.md
+14
Original file line number
Diff line number
Diff line change
@@ -259,6 +259,20 @@
259
259
eval`starship init tcsh`
260
260
```
261
261
262
+
263
+
#### Nushell
264
+
265
+
**Warning** This will change in the future. Only nu version v0.33 or higher is supported. Add the following to your nu config file. You can check the location of this file by running `config path` in nu.
266
+
267
+
```toml
268
+
startup = [
269
+
"mkdir ~/.cache/starship",
270
+
"starship init nu | save ~/.cache/starship/init.nu",
Copy file name to clipboardexpand all lines: docs/de-DE/README.md
+13
Original file line number
Diff line number
Diff line change
@@ -138,3 +138,16 @@ description: Starship ist eine minimale, super schnelle, und extrem anpassbare P
138
138
139
139
eval`starship init tcsh`
140
140
```
141
+
142
+
#### Nushell
143
+
144
+
::: warning This will change in the future. Only nu version v0.33 or higher is supported. ::: Add the following to your nu config file. You can check the location of this file by running `config path` in nu.
145
+
146
+
```toml
147
+
startup = [
148
+
"mkdir ~/.cache/starship",
149
+
"starship init nu | save ~/.cache/starship/init.nu",
0 commit comments