mirror of
https://github.com/starship/starship.git
synced 2026-06-23 02:05:51 +07:00
Compare commits
112 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d60519607c | |||
| 6f7c67b485 | |||
| 2c487cac31 | |||
| 43d6ceeaab | |||
| 43f097eae8 | |||
| af5d139060 | |||
| ee6bf760d4 | |||
| dfddd999c3 | |||
| b90eab3198 | |||
| 24516d0f25 | |||
| b5e865ae7d | |||
| 3b43b6be52 | |||
| 6678c13c24 | |||
| 4e473e99ff | |||
| 8b9e860e10 | |||
| 6de7a01788 | |||
| 8829d275fb | |||
| f37b81961f | |||
| 8a435693a4 | |||
| d204259211 | |||
| 7faee3680c | |||
| 3cdb2af2a3 | |||
| a299f4c7a2 | |||
| 0521e82dc5 | |||
| 611b463e63 | |||
| fb010f1f3c | |||
| 2df521c69b | |||
| 2922ee78d2 | |||
| 2690a329cf | |||
| e21775c694 | |||
| 45937166c8 | |||
| 7ead2b55eb | |||
| 9b6d394e01 | |||
| 1f4b664cff | |||
| ba16bdab88 | |||
| 0d2edee51f | |||
| d4ba0d19e6 | |||
| c7b0b68618 | |||
| 0993b4d70d | |||
| 9d2201066a | |||
| e1a173fe42 | |||
| 00d3b00d60 | |||
| 2acb479016 | |||
| 44941823da | |||
| dbcabdc160 | |||
| d510240c18 | |||
| ca873bc3d1 | |||
| 0a6b44ca9f | |||
| 9e06bb73f7 | |||
| 49a6a45d1c | |||
| c15c75f7a5 | |||
| e6f4a7d30e | |||
| 5e7b4ad408 | |||
| de227a4458 | |||
| b23437c6c4 | |||
| a4e013cc76 | |||
| 333706caf4 | |||
| c24c1f534c | |||
| 777a050759 | |||
| 4f09f17cfb | |||
| 1fca32fa97 | |||
| 61c860e129 | |||
| ba8245904f | |||
| ddfea65bbb | |||
| 5577e4136c | |||
| 8a38b8f6f1 | |||
| 22219727be | |||
| 862d8c3ea7 | |||
| d00e96cc59 | |||
| 2e75029a01 | |||
| 8bd9cacfdd | |||
| 305acac2bd | |||
| fccf4ccebf | |||
| 85d3fb2e2a | |||
| 8c383b4ecd | |||
| b4bec448df | |||
| e14b3b100a | |||
| cb785c4df5 | |||
| af08ab4ce1 | |||
| 5026969dfe | |||
| 576aa14d15 | |||
| 639c7c6285 | |||
| 90721faa0b | |||
| 531803f375 | |||
| 4ce7931627 | |||
| 0eae051f9f | |||
| 9e72ef0a58 | |||
| c261c6eca3 | |||
| ba83af7fab | |||
| abb091a4d4 | |||
| 20d5a470c2 | |||
| 9d0dbcb691 | |||
| 34f70a51d2 | |||
| 44140502f3 | |||
| e67df0a7a5 | |||
| 62cc2d54c1 | |||
| af8890e370 | |||
| 8b6177c728 | |||
| 842488f9e7 | |||
| 52a38c48ae | |||
| 3974ce4505 | |||
| 426c34ad14 | |||
| dbb0192634 | |||
| ecd23882b3 | |||
| 1eb900a665 | |||
| eaccc512f2 | |||
| 506a310a9e | |||
| 4ecd327fb1 | |||
| 47ccc3603d | |||
| 00d927bb20 | |||
| 8d905e0139 | |||
| 6555778471 |
+3
-3
@@ -25,9 +25,9 @@
|
|||||||
"target/"
|
"target/"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"https://github.com/dprint/dprint-plugin-typescript/releases/download/0.93.0/plugin.wasm",
|
"https://github.com/dprint/dprint-plugin-typescript/releases/download/0.93.3/plugin.wasm",
|
||||||
"https://github.com/dprint/dprint-plugin-json/releases/download/0.19.3/plugin.wasm",
|
"https://github.com/dprint/dprint-plugin-json/releases/download/0.19.4/plugin.wasm",
|
||||||
"https://github.com/dprint/dprint-plugin-markdown/releases/download/0.17.8/plugin.wasm",
|
"https://github.com/dprint/dprint-plugin-markdown/releases/download/0.17.8/plugin.wasm",
|
||||||
"https://github.com/dprint/dprint-plugin-toml/releases/download/0.6.3/plugin.wasm"
|
"https://github.com/dprint/dprint-plugin-toml/releases/download/0.6.4/plugin.wasm"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,6 +87,7 @@
|
|||||||
"default": {
|
"default": {
|
||||||
"detect_extensions": [],
|
"detect_extensions": [],
|
||||||
"detect_files": [
|
"detect_files": [
|
||||||
|
"bun.lock",
|
||||||
"bun.lockb",
|
"bun.lockb",
|
||||||
"bunfig.toml"
|
"bunfig.toml"
|
||||||
],
|
],
|
||||||
@@ -359,6 +360,9 @@
|
|||||||
"default": {
|
"default": {
|
||||||
"allowed_msg": "allowed",
|
"allowed_msg": "allowed",
|
||||||
"denied_msg": "denied",
|
"denied_msg": "denied",
|
||||||
|
"detect_env_vars": [
|
||||||
|
"DIRENV_FILE"
|
||||||
|
],
|
||||||
"detect_extensions": [],
|
"detect_extensions": [],
|
||||||
"detect_files": [
|
"detect_files": [
|
||||||
".envrc"
|
".envrc"
|
||||||
@@ -1248,6 +1252,7 @@
|
|||||||
"Android": "🤖 ",
|
"Android": "🤖 ",
|
||||||
"Arch": "🎗️ ",
|
"Arch": "🎗️ ",
|
||||||
"Artix": "🎗️ ",
|
"Artix": "🎗️ ",
|
||||||
|
"CachyOS": "🎗️ ",
|
||||||
"CentOS": "💠 ",
|
"CentOS": "💠 ",
|
||||||
"Debian": "🌀 ",
|
"Debian": "🌀 ",
|
||||||
"DragonFly": "🐉 ",
|
"DragonFly": "🐉 ",
|
||||||
@@ -1269,6 +1274,7 @@
|
|||||||
"Mint": "🌿 ",
|
"Mint": "🌿 ",
|
||||||
"NetBSD": "🚩 ",
|
"NetBSD": "🚩 ",
|
||||||
"NixOS": "❄️ ",
|
"NixOS": "❄️ ",
|
||||||
|
"Nobara": "🎩 ",
|
||||||
"OpenBSD": "🐡 ",
|
"OpenBSD": "🐡 ",
|
||||||
"OpenCloudOS": "☁️ ",
|
"OpenCloudOS": "☁️ ",
|
||||||
"OracleLinux": "🦴 ",
|
"OracleLinux": "🦴 ",
|
||||||
@@ -1283,6 +1289,7 @@
|
|||||||
"Ubuntu": "🎯 ",
|
"Ubuntu": "🎯 ",
|
||||||
"Ultramarine": "🔷 ",
|
"Ultramarine": "🔷 ",
|
||||||
"Unknown": "❓ ",
|
"Unknown": "❓ ",
|
||||||
|
"Uos": "🐲 ",
|
||||||
"Void": " ",
|
"Void": " ",
|
||||||
"Windows": "🪟 ",
|
"Windows": "🪟 ",
|
||||||
"openEuler": "🦉 ",
|
"openEuler": "🦉 ",
|
||||||
@@ -1715,7 +1722,7 @@
|
|||||||
"not_executable_symbol": "🚫",
|
"not_executable_symbol": "🚫",
|
||||||
"not_found_symbol": "🔍",
|
"not_found_symbol": "🔍",
|
||||||
"pipestatus": false,
|
"pipestatus": false,
|
||||||
"pipestatus_format": "\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style)",
|
"pipestatus_format": "\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style) ",
|
||||||
"pipestatus_separator": "|",
|
"pipestatus_separator": "|",
|
||||||
"recognize_signal_code": true,
|
"recognize_signal_code": true,
|
||||||
"sigint_symbol": "🧱",
|
"sigint_symbol": "🧱",
|
||||||
@@ -2222,6 +2229,7 @@
|
|||||||
},
|
},
|
||||||
"detect_files": {
|
"detect_files": {
|
||||||
"default": [
|
"default": [
|
||||||
|
"bun.lock",
|
||||||
"bun.lockb",
|
"bun.lockb",
|
||||||
"bunfig.toml"
|
"bunfig.toml"
|
||||||
],
|
],
|
||||||
@@ -2868,6 +2876,15 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"detect_env_vars": {
|
||||||
|
"default": [
|
||||||
|
"DIRENV_FILE"
|
||||||
|
],
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
"detect_files": {
|
"detect_files": {
|
||||||
"default": [
|
"default": [
|
||||||
".envrc"
|
".envrc"
|
||||||
@@ -4950,6 +4967,7 @@
|
|||||||
"Android": "🤖 ",
|
"Android": "🤖 ",
|
||||||
"Arch": "🎗️ ",
|
"Arch": "🎗️ ",
|
||||||
"Artix": "🎗️ ",
|
"Artix": "🎗️ ",
|
||||||
|
"CachyOS": "🎗️ ",
|
||||||
"CentOS": "💠 ",
|
"CentOS": "💠 ",
|
||||||
"Debian": "🌀 ",
|
"Debian": "🌀 ",
|
||||||
"DragonFly": "🐉 ",
|
"DragonFly": "🐉 ",
|
||||||
@@ -4971,6 +4989,7 @@
|
|||||||
"Mint": "🌿 ",
|
"Mint": "🌿 ",
|
||||||
"NetBSD": "🚩 ",
|
"NetBSD": "🚩 ",
|
||||||
"NixOS": "❄️ ",
|
"NixOS": "❄️ ",
|
||||||
|
"Nobara": "🎩 ",
|
||||||
"OpenBSD": "🐡 ",
|
"OpenBSD": "🐡 ",
|
||||||
"OpenCloudOS": "☁️ ",
|
"OpenCloudOS": "☁️ ",
|
||||||
"OracleLinux": "🦴 ",
|
"OracleLinux": "🦴 ",
|
||||||
@@ -4985,6 +5004,7 @@
|
|||||||
"Ubuntu": "🎯 ",
|
"Ubuntu": "🎯 ",
|
||||||
"Ultramarine": "🔷 ",
|
"Ultramarine": "🔷 ",
|
||||||
"Unknown": "❓ ",
|
"Unknown": "❓ ",
|
||||||
|
"Uos": "🐲 ",
|
||||||
"Void": " ",
|
"Void": " ",
|
||||||
"Windows": "🪟 ",
|
"Windows": "🪟 ",
|
||||||
"openEuler": "🦉 ",
|
"openEuler": "🦉 ",
|
||||||
@@ -5989,6 +6009,18 @@
|
|||||||
"default": "bold red",
|
"default": "bold red",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"success_style": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"failure_style": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
},
|
||||||
"map_symbol": {
|
"map_symbol": {
|
||||||
"default": false,
|
"default": false,
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
@@ -6006,7 +6038,7 @@
|
|||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"pipestatus_format": {
|
"pipestatus_format": {
|
||||||
"default": "\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style)",
|
"default": "\\[$pipestatus\\] => [$symbol$common_meaning$signal_name$maybe_int]($style) ",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"pipestatus_segment_format": {
|
"pipestatus_segment_format": {
|
||||||
|
|||||||
@@ -327,7 +327,7 @@ jobs:
|
|||||||
needs: [release_please, upload_artifacts]
|
needs: [release_please, upload_artifacts]
|
||||||
if: ${{ needs.release_please.outputs.release_created == 'true' }}
|
if: ${{ needs.release_please.outputs.release_created == 'true' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: mislav/bump-homebrew-formula-action@v3.1
|
- uses: mislav/bump-homebrew-formula-action@v3.2
|
||||||
with:
|
with:
|
||||||
formula-name: starship
|
formula-name: starship
|
||||||
tag-name: ${{ needs.release_please.outputs.tag_name }}
|
tag-name: ${{ needs.release_please.outputs.tag_name }}
|
||||||
|
|||||||
@@ -24,6 +24,6 @@ jobs:
|
|||||||
- name: Setup | Checkout
|
- name: Setup | Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Test | Security Audit
|
- name: Test | Security Audit
|
||||||
uses: EmbarkStudios/cargo-deny-action@v2.0.1
|
uses: EmbarkStudios/cargo-deny-action@v2.0.4
|
||||||
with:
|
with:
|
||||||
command: check ${{ matrix.checks }}
|
command: check ${{ matrix.checks }}
|
||||||
|
|||||||
@@ -7,4 +7,4 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: crate-ci/typos@v1.26.0
|
- uses: crate-ci/typos@v1.29.4
|
||||||
|
|||||||
@@ -1,5 +1,40 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## [1.22.1](https://github.com/starship/starship/compare/v1.22.0...v1.22.1) (2025-01-11)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **windows:** downgrade libz-ng-sys ([#6489](https://github.com/starship/starship/issues/6489)) ([6f7c67b](https://github.com/starship/starship/commit/6f7c67b4858b755c19754a2ec1063502545a16b6))
|
||||||
|
|
||||||
|
## [1.22.0](https://github.com/starship/starship/compare/v1.21.1...v1.22.0) (2025-01-11)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* **battery:** Use best match instead of first match for `battery.display` threshold ([#6442](https://github.com/starship/starship/issues/6442)) ([2690a32](https://github.com/starship/starship/commit/2690a329cf9a6b4a160d024674193007fb292e1a))
|
||||||
|
* **bun:** Detect bun using new text-format lockfile ([#6441](https://github.com/starship/starship/issues/6441)) ([2df521c](https://github.com/starship/starship/commit/2df521c69b0b1400edee7b7b332b5e2a900c7775))
|
||||||
|
* **direnv:** allow direnv to detect environment variables ([#6196](https://github.com/starship/starship/issues/6196)) ([4593716](https://github.com/starship/starship/commit/45937166c8b3cb53f09b29c65d0f547aa7f2f022))
|
||||||
|
* **status:** add `{success,failure}_style` options ([#6269](https://github.com/starship/starship/issues/6269)) ([e21775c](https://github.com/starship/starship/commit/e21775c694a81cf092eafa3c9a7b169ae9c8ebf2))
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **fish:** restore support for fish <v3.4.0 ([#6337](https://github.com/starship/starship/issues/6337)) ([85d3fb2](https://github.com/starship/starship/commit/85d3fb2e2ab96e639fe6b67ba1afbb94b6c5b83e))
|
||||||
|
* handle variable bash $SHLVL behavior with explicit option ([#4912](https://github.com/starship/starship/issues/4912)) ([7ead2b5](https://github.com/starship/starship/commit/7ead2b55eb58a878dc3ea8d87204f84862bd8148))
|
||||||
|
* **hostname:** use DNS instead of NetBIOS name on Windows ([#6343](https://github.com/starship/starship/issues/6343)) ([43f097e](https://github.com/starship/starship/commit/43f097eae838c1fba52659113826669802081918))
|
||||||
|
* **init/pwsh:** preserve ViModeChangeHandler ([#6225](https://github.com/starship/starship/issues/6225)) ([9b6d394](https://github.com/starship/starship/commit/9b6d394e01d50db4395cfe402531bfd96c540462))
|
||||||
|
* **init:** do not use cygpath for elvish ([#6376](https://github.com/starship/starship/issues/6376)) ([576aa14](https://github.com/starship/starship/commit/576aa14d15f57abf7d1c28e3486f2682e45c2f62))
|
||||||
|
* **status:** add trailing space to `pipestatus_format` ([#6404](https://github.com/starship/starship/issues/6404)) ([8a38b8f](https://github.com/starship/starship/commit/8a38b8f6f19fa6f17098e32f22183beac0498764))
|
||||||
|
* **username:** avoid using `whoami` on android ([#6342](https://github.com/starship/starship/issues/6342)) ([af5d139](https://github.com/starship/starship/commit/af5d139060bbb60690196dc53e05424ac3c0fb5d)), closes [#6340](https://github.com/starship/starship/issues/6340)
|
||||||
|
|
||||||
|
## [1.21.1](https://github.com/starship/starship/compare/v1.21.0...v1.21.1) (2024-10-18)
|
||||||
|
|
||||||
|
|
||||||
|
### Reverts
|
||||||
|
|
||||||
|
* "perf(fish): Skip unnecessary indirection in starship init fish" ([#6326](https://github.com/starship/starship/issues/6326)) ([00d927b](https://github.com/starship/starship/commit/00d927bb20e618b587635876d2e10047f98eff88))
|
||||||
|
|
||||||
## [1.21.0](https://github.com/starship/starship/compare/v1.20.1...v1.21.0) (2024-10-17)
|
## [1.21.0](https://github.com/starship/starship/compare/v1.20.1...v1.21.0) (2024-10-17)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Generated
+968
-365
File diff suppressed because it is too large
Load Diff
+28
-26
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "starship"
|
name = "starship"
|
||||||
version = "1.21.0"
|
version = "1.22.1"
|
||||||
authors = ["Starship Contributors"]
|
authors = ["Starship Contributors"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
categories = ["command-line-utilities"]
|
categories = ["command-line-utilities"]
|
||||||
@@ -42,55 +42,57 @@ gix-max-perf = ["gix-features/zlib-ng", "gix/fast-sha1"]
|
|||||||
gix-faster = ["gix-features/zlib-stock", "gix/fast-sha1"]
|
gix-faster = ["gix-features/zlib-stock", "gix/fast-sha1"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = { version = "0.4.38", default-features = false, features = ["clock", "std", "wasmbind"] }
|
chrono = { version = "0.4.39", default-features = false, features = ["clock", "std", "wasmbind"] }
|
||||||
clap = { version = "4.5.20", features = ["derive", "cargo", "unicode"] }
|
clap = { version = "4.5.26", features = ["derive", "cargo", "unicode"] }
|
||||||
clap_complete = "4.5.33"
|
clap_complete = "4.5.42"
|
||||||
dirs = "5.0.1"
|
dirs = "5.0.1"
|
||||||
dunce = "1.0.5"
|
dunce = "1.0.5"
|
||||||
# default feature restriction addresses https://github.com/starship/starship/issues/4251
|
# default feature restriction addresses https://github.com/starship/starship/issues/4251
|
||||||
gix = { version = "0.66.0", default-features = false, features = ["max-performance-safe", "revision"] }
|
gix = { version = "0.69.1", default-features = false, features = ["max-performance-safe", "revision"] }
|
||||||
gix-features = { version = "0.38.2", optional = true }
|
gix-features = { version = "0.39.1", optional = true }
|
||||||
indexmap = { version = "2.6.0", features = ["serde"] }
|
indexmap = { version = "2.7.0", features = ["serde"] }
|
||||||
log = { version = "0.4.22", features = ["std"] }
|
log = { version = "0.4.24", features = ["std"] }
|
||||||
# notify-rust is optional (on by default) because the crate doesn't currently build for darwin with nix
|
# notify-rust is optional (on by default) because the crate doesn't currently build for darwin with nix
|
||||||
# see: https://github.com/NixOS/nixpkgs/issues/160876
|
# see: https://github.com/NixOS/nixpkgs/issues/160876
|
||||||
notify-rust = { version = "4.11.3", optional = true }
|
notify-rust = { version = "4.11.3", optional = true }
|
||||||
nu-ansi-term = "0.50.1"
|
nu-ansi-term = "0.50.1"
|
||||||
open = "5.3.0"
|
open = "5.3.2"
|
||||||
# update os module config and tests when upgrading os_info
|
# update os module config and tests when upgrading os_info
|
||||||
os_info = "3.8.2"
|
os_info = "3.9.2"
|
||||||
path-slash = "0.2.1"
|
path-slash = "0.2.1"
|
||||||
pest = "2.7.14"
|
pest = "2.7.15"
|
||||||
pest_derive = "2.7.14"
|
pest_derive = "2.7.15"
|
||||||
process_control = "5.0.0"
|
process_control = "5.0.0"
|
||||||
quick-xml = "0.36.2"
|
quick-xml = "0.37.2"
|
||||||
rand = "0.8.5"
|
rand = "0.8.5"
|
||||||
rayon = "1.10.0"
|
rayon = "1.10.0"
|
||||||
regex = { version = "1.11.0", default-features = false, features = ["perf", "std", "unicode-perl"] }
|
regex = { version = "1.11.1", default-features = false, features = ["perf", "std", "unicode-perl"] }
|
||||||
rust-ini = "0.21.1"
|
rust-ini = "0.21.1"
|
||||||
semver = "1.0.23"
|
semver = "1.0.24"
|
||||||
serde = { version = "1.0.210", features = ["derive"] }
|
serde = { version = "1.0.217", features = ["derive"] }
|
||||||
serde_json = "1.0.128"
|
serde_json = "1.0.135"
|
||||||
sha1 = "0.10.6"
|
sha1 = "0.10.6"
|
||||||
shadow-rs = { version = "0.35.1", default-features = false }
|
shadow-rs = { version = "0.37.0", default-features = false }
|
||||||
# battery is optional (on by default) because the crate doesn't currently build for Termux
|
# battery is optional (on by default) because the crate doesn't currently build for Termux
|
||||||
# see: https://github.com/svartalf/rust-battery/issues/33
|
# see: https://github.com/svartalf/rust-battery/issues/33
|
||||||
starship-battery = { version = "0.10.0", optional = true }
|
starship-battery = { version = "0.10.0", optional = true }
|
||||||
strsim = "0.11.1"
|
strsim = "0.11.1"
|
||||||
systemstat = "=0.2.3"
|
systemstat = "=0.2.4"
|
||||||
terminal_size = "0.4.0"
|
terminal_size = "0.4.1"
|
||||||
toml = { version = "0.8.19", features = ["preserve_order"] }
|
toml = { version = "0.8.19", features = ["preserve_order"] }
|
||||||
toml_edit = "0.22.22"
|
toml_edit = "0.22.22"
|
||||||
unicode-segmentation = "1.12.0"
|
unicode-segmentation = "1.12.0"
|
||||||
unicode-width = "0.2.0"
|
unicode-width = "0.2.0"
|
||||||
urlencoding = "2.1.3"
|
urlencoding = "2.1.3"
|
||||||
versions = "6.3.2"
|
versions = "6.3.2"
|
||||||
which = "6.0.3"
|
which = "7.0.1"
|
||||||
whoami = { version = "1.5.2", default-features = false }
|
whoami = { version = "1.5.2", default-features = false }
|
||||||
yaml-rust2 = "0.9.0"
|
yaml-rust2 = "0.9.0"
|
||||||
|
|
||||||
guess_host_triple = "0.1.4"
|
guess_host_triple = "0.1.4"
|
||||||
home = "0.5.9"
|
home = "0.5.11"
|
||||||
|
# Temporary workaround for https://github.com/rust-lang/libz-sys/issues/225
|
||||||
|
libz-ng-sys = { version = "<1.1.20", optional = true }
|
||||||
shell-words = "1.1.0"
|
shell-words = "1.1.0"
|
||||||
|
|
||||||
[dependencies.schemars]
|
[dependencies.schemars]
|
||||||
@@ -102,7 +104,7 @@ features = ["preserve_order", "indexmap2"]
|
|||||||
deelevate = "0.2.0"
|
deelevate = "0.2.0"
|
||||||
|
|
||||||
[target.'cfg(windows)'.dependencies.windows]
|
[target.'cfg(windows)'.dependencies.windows]
|
||||||
version = "0.58.0"
|
version = "0.59.0"
|
||||||
features = [
|
features = [
|
||||||
"Win32_Foundation",
|
"Win32_Foundation",
|
||||||
"Win32_UI_Shell",
|
"Win32_UI_Shell",
|
||||||
@@ -115,15 +117,15 @@ features = [
|
|||||||
nix = { version = "0.29.0", default-features = false, features = ["feature", "fs", "user"] }
|
nix = { version = "0.29.0", default-features = false, features = ["feature", "fs", "user"] }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
shadow-rs = { version = "0.35.1", default-features = false }
|
shadow-rs = { version = "0.37.0", default-features = false }
|
||||||
dunce = "1.0.5"
|
dunce = "1.0.5"
|
||||||
|
|
||||||
[target.'cfg(windows)'.build-dependencies]
|
[target.'cfg(windows)'.build-dependencies]
|
||||||
winres = "0.1.12"
|
winres = "0.1.12"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
mockall = "0.13.0"
|
mockall = "0.13.1"
|
||||||
tempfile = "3.13.0"
|
tempfile = "3.15.0"
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
|
|||||||
@@ -339,20 +339,14 @@ eval $(starship init ion)
|
|||||||
<details>
|
<details>
|
||||||
<summary>Nushell</summary>
|
<summary>Nushell</summary>
|
||||||
|
|
||||||
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
```
|
||||||
|
|
||||||
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
|
Note: Only Nushell v0.96+ is supported
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
Note: Only Nushell v0.78+ is supported
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,9 @@ use std::io::Write;
|
|||||||
use shadow_rs::SdResult;
|
use shadow_rs::SdResult;
|
||||||
|
|
||||||
fn main() -> SdResult<()> {
|
fn main() -> SdResult<()> {
|
||||||
shadow_rs::new_hook(gen_presets_hook)?;
|
shadow_rs::ShadowBuilder::builder()
|
||||||
|
.hook(gen_presets_hook)
|
||||||
|
.build()?;
|
||||||
|
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
{
|
{
|
||||||
|
|||||||
+4
-10
@@ -154,21 +154,15 @@ onMounted(() => {
|
|||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
This will change in the future.
|
This will change in the future.
|
||||||
Only Nushell v0.78+ is supported.
|
Only Nushell v0.96+ is supported.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
|
||||||
|
|
||||||
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Xonsh
|
#### Xonsh
|
||||||
|
|||||||
+4
-10
@@ -166,21 +166,15 @@ onMounted(() => {
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
This will change in the future. Only Nushell v0.78+ is supported.
|
This will change in the future. Only Nushell v0.96+ is supported.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
|
||||||
|
|
||||||
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+81
-42
@@ -553,10 +553,7 @@ discharging_symbol = '💦 '
|
|||||||
|
|
||||||
## Buf
|
## Buf
|
||||||
|
|
||||||
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if all of the following conditions are met:
|
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if the current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||||
|
|
||||||
- The [`buf`](https://github.com/bufbuild/buf) CLI is installed.
|
|
||||||
- The current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -594,18 +591,19 @@ symbol = '🦬 '
|
|||||||
|
|
||||||
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met:
|
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
|
- The current directory contains a `bun.lock` file
|
||||||
- The current directory contains a `bun.lockb` file
|
- The current directory contains a `bun.lockb` file
|
||||||
- The current directory contains a `bunfig.toml` file
|
- The current directory contains a `bunfig.toml` file
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
| `detect_files` | `['bun.lock', 'bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `bun` module. |
|
| `disabled` | `false` | Disables the `bun` module. |
|
||||||
@@ -635,7 +633,7 @@ format = 'via [🍔 $version](bold green) '
|
|||||||
|
|
||||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[nodejs]
|
[nodejs]
|
||||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||||
```
|
```
|
||||||
@@ -863,7 +861,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
|
This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`. If you use [pixi](https://pixi.sh), you can disable pixi's prompt modifier by running `pixi config set change-ps1 false`.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -1050,17 +1048,17 @@ format = 'via [🔰 $version](bold red) '
|
|||||||
|
|
||||||
The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met:
|
The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
- The current directory contains a `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
- The current directory contains a `deno.json`, `deno.jsonc`, `deno.lock`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| ------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🦕 '` | A format string representing the symbol of Deno |
|
| `symbol` | `'🦕 '` | A format string representing the symbol of Deno |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. |
|
| `detect_files` | `['deno.json', 'deno.jsonc', 'deno.lock', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'green bold'` | The style for the module. |
|
| `style` | `'green bold'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `deno` module. |
|
| `disabled` | `false` | Disables the `deno` module. |
|
||||||
@@ -1117,7 +1115,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
|
|||||||
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
||||||
| `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. |
|
| `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.
|
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories of Java. Note that this will disable the fish style PWD.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
@@ -1170,7 +1168,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| ------------------- | -------------------------------------- | ----------------------------------------------------- |
|
| ------------------- | -------------------------------------- | ------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$loaded/$allowed]($style) '` | The format for the module. |
|
| `format` | `'[$symbol$loaded/$allowed]($style) '` | The format for the module. |
|
||||||
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
||||||
| `style` | `'bold orange'` | The style for the module. |
|
| `style` | `'bold orange'` | The style for the module. |
|
||||||
@@ -1178,6 +1176,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
| `detect_env_vars` | `['DIRENV_FILE']` | Which environment variables should trigger this module. |
|
||||||
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
||||||
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
||||||
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
||||||
@@ -1207,7 +1206,7 @@ disabled = false
|
|||||||
|
|
||||||
## Docker Context
|
## Docker Context
|
||||||
|
|
||||||
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_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
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 `desktop-linux`, or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -1890,7 +1889,7 @@ The Git Status module is very slow in Windows directories (for example under `/m
|
|||||||
| `staged` | `'+'` | The format of `staged` |
|
| `staged` | `'+'` | The format of `staged` |
|
||||||
| `renamed` | `'»'` | The format of `renamed` |
|
| `renamed` | `'»'` | The format of `renamed` |
|
||||||
| `deleted` | `'✘'` | The format of `deleted` |
|
| `deleted` | `'✘'` | The format of `deleted` |
|
||||||
| `typechanged` | `""` | The format of `typechange` |
|
| `typechanged` | `""` | The format of `typechanged` |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Disables the `git_status` module. |
|
||||||
@@ -1911,7 +1910,7 @@ The following variables can be used in `format`:
|
|||||||
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
||||||
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
||||||
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
||||||
| `typechanged` | Displays `typechange` when a file's type has been changed in the staging area. |
|
| `typechanged` | Displays `typechanged` when a file's type has been changed in the staging area. |
|
||||||
| style\* | Mirrors the value of option `style` |
|
| style\* | Mirrors the value of option `style` |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
@@ -2257,6 +2256,7 @@ The `hostname` module shows the system hostname.
|
|||||||
| `format` | `'[$ssh_symbol$hostname]($style) in '` | The format for the module. |
|
| `format` | `'[$ssh_symbol$hostname]($style) in '` | The format for the module. |
|
||||||
| `style` | `'bold dimmed green'` | The style for the module. |
|
| `style` | `'bold dimmed green'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `hostname` module. |
|
| `disabled` | `false` | Disables the `hostname` module. |
|
||||||
|
| `aliases` | `{}` | Translate system hostnames to something else. If `trim_at` is specified, only the first part will be matched and replaced. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -2293,6 +2293,14 @@ detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|||||||
disabled = false
|
disabled = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Replace the hostname with a nickname
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
[hostname]
|
||||||
|
aliases = { "Max's MacBook Pro" = "home" }
|
||||||
|
```
|
||||||
|
|
||||||
## Java
|
## Java
|
||||||
|
|
||||||
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met:
|
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met:
|
||||||
@@ -2809,6 +2817,41 @@ truncation_length = 4
|
|||||||
truncation_symbol = ''
|
truncation_symbol = ''
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Mojo
|
||||||
|
|
||||||
|
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
| Option | الافتراضي | الوصف |
|
||||||
|
| ------------------- | ------------------------------------- | ------------------------------------------------------ |
|
||||||
|
| `format` | `'with [$symbol($version )]($style)'` | The format for the module. |
|
||||||
|
| `symbol` | `'🔥 '` | The symbol used before displaying the version of Mojo. |
|
||||||
|
| `style` | `'bold 208'` | The style for the module. |
|
||||||
|
| `disabled` | `false` | Disables the `mojo` module. |
|
||||||
|
| `detect_extensions` | `['mojo', '🔥']` | Which extensions should trigger this module. |
|
||||||
|
| `detect_files` | `[]` | Which filenames should trigger this module. |
|
||||||
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
|
||||||
|
| Variable | مثال | الوصف |
|
||||||
|
| --------- | -------- | ------------------------------------ |
|
||||||
|
| version | `24.4.0` | The version of `mojo` |
|
||||||
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
|
||||||
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
|
### مثال
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[mojo]
|
||||||
|
format = 'via [mojo ($version )($hash )]($style)'
|
||||||
|
```
|
||||||
|
|
||||||
## NATS
|
## NATS
|
||||||
|
|
||||||
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
||||||
@@ -2935,12 +2978,12 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
|
| ------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
||||||
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. |
|
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. |
|
| `detect_files` | `['package.json', '.node-version', '.nvmrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `['node_modules']` | Which folders should trigger this module. |
|
| `detect_folders` | `['node_modules']` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold green'` | The style for the module. |
|
| `style` | `'bold green'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `nodejs` module. |
|
| `disabled` | `false` | Disables the `nodejs` module. |
|
||||||
@@ -3015,7 +3058,7 @@ format = 'via [🐪 $version]($style) '
|
|||||||
|
|
||||||
## Odin
|
## Odin
|
||||||
|
|
||||||
The 'odin' module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
The `odin` module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -3159,6 +3202,7 @@ Amazon = "🙂 "
|
|||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
Artix = "🎗️ "
|
Artix = "🎗️ "
|
||||||
|
CachyOS = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@@ -3180,6 +3224,7 @@ MidnightBSD = "🌘 "
|
|||||||
Mint = "🌿 "
|
Mint = "🌿 "
|
||||||
NetBSD = "🚩 "
|
NetBSD = "🚩 "
|
||||||
NixOS = "❄️ "
|
NixOS = "❄️ "
|
||||||
|
Nobara = "🎩 "
|
||||||
OpenBSD = "🐡 "
|
OpenBSD = "🐡 "
|
||||||
OpenCloudOS = "☁️ "
|
OpenCloudOS = "☁️ "
|
||||||
openEuler = "🦉 "
|
openEuler = "🦉 "
|
||||||
@@ -3196,6 +3241,7 @@ SUSE = "🦎 "
|
|||||||
Ubuntu = "🎯 "
|
Ubuntu = "🎯 "
|
||||||
Ultramarine = "🔷 "
|
Ultramarine = "🔷 "
|
||||||
Unknown = "❓ "
|
Unknown = "❓ "
|
||||||
|
Uos = "🐲 "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = "🪟 "
|
Windows = "🪟 "
|
||||||
```
|
```
|
||||||
@@ -3492,13 +3538,15 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
- The current directory contains a `requirements.txt` file
|
- The current directory contains a `requirements.txt` file
|
||||||
- The current directory contains a `setup.py` file
|
- The current directory contains a `setup.py` file
|
||||||
- The current directory contains a `tox.ini` file
|
- The current directory contains a `tox.ini` file
|
||||||
|
- The current directory contains a `pixi.toml` file
|
||||||
- The current directory contains a file with the `.py` extension.
|
- The current directory contains a file with the `.py` extension.
|
||||||
|
- The current directory contains a file with the `.ipynb` extension.
|
||||||
- A virtual environment is currently activated
|
- A virtual environment is currently activated
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | The format for the module. |
|
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
||||||
@@ -3506,8 +3554,8 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
||||||
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
||||||
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
||||||
| `detect_extensions` | `['py']` | Which extensions should trigger this module |
|
| `detect_extensions` | `['py', 'ipynb']` | Which extensions should trigger this module |
|
||||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Which filenames should trigger this module |
|
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini', 'pixi.toml']` | Which filenames should trigger this module |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module |
|
| `detect_folders` | `[]` | Which folders should trigger this module |
|
||||||
| `disabled` | `false` | Disables the `python` module. |
|
| `disabled` | `false` | Disables the `python` module. |
|
||||||
|
|
||||||
@@ -4050,7 +4098,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
||||||
| `symbol` | `'❌'` | The symbol displayed on program error |
|
| `symbol` | `'❌'` | The symbol displayed on program error |
|
||||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||||
@@ -4059,18 +4107,20 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
|
| `success_style` | | The style used on program success (defaults to `style` if unset). |
|
||||||
|
| `failure_style` | | The style used on program failure (defaults to `style` if unset). |
|
||||||
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
||||||
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
||||||
| `pipestatus` | `false` | Enable pipestatus reporting |
|
| `pipestatus` | `false` | Enable pipestatus reporting |
|
||||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||||
| `disabled` | `true` | Disables the `status` module. |
|
| `disabled` | `true` | Disables the `status` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | مثال | الوصف |
|
| Variable | مثال | الوصف |
|
||||||
| -------------- | ------- | ------------------------------------------------------------------------------------------ |
|
| -------------- | ------- | -------------------------------------------------------------------------------------------- |
|
||||||
| status | `127` | The exit code of the last command |
|
| status | `127` | The exit code of the last command |
|
||||||
| hex_status | `0x7F` | The exit code of the last command in hex |
|
| hex_status | `0x7F` | The exit code of the last command in hex |
|
||||||
| int | `127` | The exit code of the last command |
|
| int | `127` | The exit code of the last command |
|
||||||
@@ -4080,7 +4130,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
||||||
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
||||||
| symbol | | Mirrors the value of option `symbol` |
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| style\* | | Mirrors the value of option `success_style` on program success and `failure_style` otherwise |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
@@ -4350,7 +4400,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
| `format` | `'[$user]($style) in '` | The format for the module. |
|
| `format` | `'[$user]($style) in '` | The format for the module. |
|
||||||
| `show_always` | `false` | Always shows the `username` module. |
|
| `show_always` | `false` | Always shows the `username` module. |
|
||||||
| `disabled` | `false` | Disables the `username` module. |
|
| `disabled` | `false` | Disables the `username` module. |
|
||||||
| `aliases` | `{}` | Translate system usernames to something else |
|
| `aliases` | `{}` | Translate system usernames to something else. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -4361,7 +4411,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
|
|
||||||
### مثال
|
### مثال
|
||||||
|
|
||||||
#### Always show the hostname
|
#### Always show the username
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
@@ -4375,17 +4425,6 @@ show_always = true
|
|||||||
aliases = { "corpuser034g" = "matchai" }
|
aliases = { "corpuser034g" = "matchai" }
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Hide the hostname in remote tmux sessions
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|
||||||
disabled = false
|
|
||||||
```
|
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
|
|
||||||
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met:
|
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met:
|
||||||
@@ -4573,7 +4612,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
| Option | الافتراضي | الوصف |
|
| Option | الافتراضي | الوصف |
|
||||||
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
||||||
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. |
|
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the `shell` returns a `0` status code from executing it. |
|
||||||
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
||||||
| `shell` | | [See below](#custom-command-shell) |
|
| `shell` | | [See below](#custom-command-shell) |
|
||||||
| `الوصف` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
| `الوصف` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
||||||
@@ -4593,7 +4632,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
| Variable | الوصف |
|
| Variable | الوصف |
|
||||||
| --------- | -------------------------------------- |
|
| --------- | -------------------------------------- |
|
||||||
| output | The output of shell command in `shell` |
|
| output | The output of `command` run in `shell` |
|
||||||
| symbol | Mirrors the value of option `symbol` |
|
| symbol | Mirrors the value of option `symbol` |
|
||||||
| style\* | Mirrors the value of option `style` |
|
| style\* | Mirrors the value of option `style` |
|
||||||
|
|
||||||
@@ -4608,7 +4647,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
||||||
|
|
||||||
The `command` will be passed in on stdin.
|
The `command` (and `when`, if applicable) will be passed in on stdin.
|
||||||
|
|
||||||
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
||||||
|
|
||||||
|
|||||||
+14
-11
@@ -338,20 +338,14 @@ eval $(starship init ion)
|
|||||||
<details>
|
<details>
|
||||||
<summary>Nushell</summary>
|
<summary>Nushell</summary>
|
||||||
|
|
||||||
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
```
|
||||||
|
|
||||||
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
|
Note: Only Nushell v0.96+ is supported
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
Note: Only Nushell v0.78+ is supported
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -431,7 +425,16 @@ If you're looking to further customize Starship:
|
|||||||
|
|
||||||
Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website.
|
Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website.
|
||||||
|
|
||||||
- Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org)
|
## 🔒 Code Signing Policy
|
||||||
|
|
||||||
|
Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org).
|
||||||
|
|
||||||
|
Code Signing Roles:
|
||||||
|
|
||||||
|
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
|
||||||
|
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
|
||||||
|
|
||||||
|
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset changes the format of all the built-in modules to show their segment
|
|||||||
starship preset bracketed-segments -o ~/.config/starship.toml
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/bracketed-segments.toml
|
<<< @/public/presets/toml/bracketed-segments.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
|
|||||||
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml)
|
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ This is a pseudo minimalist preset inspired by the [geometry](https://github.com
|
|||||||
starship preset jetpack -o ~/.config/starship.toml
|
starship preset jetpack -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/jetpack.toml)
|
[Click to download TOML](/presets/toml/jetpack.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/jetpack.toml
|
<<< @/public/presets/toml/jetpack.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset changes the symbols for each module to use Nerd Font symbols.
|
|||||||
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/nerd-font-symbols.toml
|
<<< @/public/presets/toml/nerd-font-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ If toolset files are identified the toolset icon is displayed. If the toolset is
|
|||||||
starship preset no-empty-icons -o ~/.config/starship.toml
|
starship preset no-empty-icons -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-empty-icons.toml)
|
[Click to download TOML](/presets/toml/no-empty-icons.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-empty-icons.toml
|
<<< @/public/presets/toml/no-empty-icons.toml
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ This preset will become the default preset in a future release of starship.
|
|||||||
starship preset no-nerd-font -o ~/.config/starship.toml
|
starship preset no-nerd-font -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-nerd-font.toml)
|
[Click to download TOML](/presets/toml/no-nerd-font.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-nerd-font.toml
|
<<< @/public/presets/toml/no-nerd-font.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset hides the version of language runtimes. If you work in containers or
|
|||||||
starship preset no-runtime-versions -o ~/.config/starship.toml
|
starship preset no-runtime-versions -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-runtime-versions.toml
|
<<< @/public/presets/toml/no-runtime-versions.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m
|
|||||||
starship preset pastel-powerline -o ~/.config/starship.toml
|
starship preset pastel-powerline -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/pastel-powerline.toml)
|
[Click to download TOML](/presets/toml/pastel-powerline.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pastel-powerline.toml
|
<<< @/public/presets/toml/pastel-powerline.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset changes the symbols for each module into plain text. Great if you do
|
|||||||
starship preset plain-text-symbols -o ~/.config/starship.toml
|
starship preset plain-text-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/plain-text-symbols.toml
|
<<< @/public/presets/toml/plain-text-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso
|
|||||||
starship preset pure-preset -o ~/.config/starship.toml
|
starship preset pure-preset -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/pure-preset.toml)
|
[Click to download TOML](/presets/toml/pure-preset.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pure-preset.toml
|
<<< @/public/presets/toml/pure-preset.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t
|
|||||||
starship preset tokyo-night -o ~/.config/starship.toml
|
starship preset tokyo-night -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/tokyo-night.toml)
|
[Click to download TOML](/presets/toml/tokyo-night.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/tokyo-night.toml
|
<<< @/public/presets/toml/tokyo-night.toml
|
||||||
|
|||||||
+4
-10
@@ -166,21 +166,15 @@ onMounted(() => {
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
This will change in the future. Only Nushell v0.78+ is supported.
|
This will change in the future. Only Nushell v0.96+ is supported.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
আপনার Nushell env ফাইলের (Nushell এ `$nu.env-path` কমান্ডটি রান করে ফাইলটি খুঁজে বের করুন) শেষে নিম্নলিখিত লাইনগুলি যোগ করুন:
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
|
||||||
|
|
||||||
এরপর আপনার Nushell কনফিগের (Nushell এ `$nu.config-path` কমান্ডটি রান করে ফাইলটি খুঁজে বের করুন) শেষে নিম্নলিখিত লাইনটি যোগ করুন:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+81
-42
@@ -553,10 +553,7 @@ discharging_symbol = '💦 '
|
|||||||
|
|
||||||
## Buf
|
## Buf
|
||||||
|
|
||||||
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if all of the following conditions are met:
|
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if the current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||||
|
|
||||||
- The [`buf`](https://github.com/bufbuild/buf) CLI is installed.
|
|
||||||
- The current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -594,18 +591,19 @@ symbol = '🦬 '
|
|||||||
|
|
||||||
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met:
|
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
|
- The current directory contains a `bun.lock` file
|
||||||
- The current directory contains a `bun.lockb` file
|
- The current directory contains a `bun.lockb` file
|
||||||
- The current directory contains a `bunfig.toml` file
|
- The current directory contains a `bunfig.toml` file
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
| `detect_files` | `['bun.lock', 'bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `bun` module. |
|
| `disabled` | `false` | Disables the `bun` module. |
|
||||||
@@ -635,7 +633,7 @@ format = 'via [🍔 $version](bold green) '
|
|||||||
|
|
||||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[nodejs]
|
[nodejs]
|
||||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||||
```
|
```
|
||||||
@@ -863,7 +861,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
|
This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`. If you use [pixi](https://pixi.sh), you can disable pixi's prompt modifier by running `pixi config set change-ps1 false`.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -1050,17 +1048,17 @@ format = 'via [🔰 $version](bold red) '
|
|||||||
|
|
||||||
The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met:
|
The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
- The current directory contains a `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
- The current directory contains a `deno.json`, `deno.jsonc`, `deno.lock`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🦕 '` | A format string representing the symbol of Deno |
|
| `symbol` | `'🦕 '` | A format string representing the symbol of Deno |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. |
|
| `detect_files` | `['deno.json', 'deno.jsonc', 'deno.lock', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'green bold'` | The style for the module. |
|
| `style` | `'green bold'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `deno` module. |
|
| `disabled` | `false` | Disables the `deno` module. |
|
||||||
@@ -1117,7 +1115,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
|
|||||||
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
||||||
| `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. |
|
| `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.
|
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories of Java. Note that this will disable the fish style PWD.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
@@ -1170,7 +1168,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | -------------------------------------- | ----------------------------------------------------- |
|
| ------------------- | -------------------------------------- | ------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$loaded/$allowed]($style) '` | The format for the module. |
|
| `format` | `'[$symbol$loaded/$allowed]($style) '` | The format for the module. |
|
||||||
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
||||||
| `style` | `'bold orange'` | The style for the module. |
|
| `style` | `'bold orange'` | The style for the module. |
|
||||||
@@ -1178,6 +1176,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
| `detect_env_vars` | `['DIRENV_FILE']` | Which environment variables should trigger this module. |
|
||||||
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
||||||
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
||||||
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
||||||
@@ -1207,7 +1206,7 @@ disabled = false
|
|||||||
|
|
||||||
## Docker Context
|
## Docker Context
|
||||||
|
|
||||||
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_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
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 `desktop-linux`, or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -1890,7 +1889,7 @@ The Git Status module is very slow in Windows directories (for example under `/m
|
|||||||
| `staged` | `'+'` | The format of `staged` |
|
| `staged` | `'+'` | The format of `staged` |
|
||||||
| `renamed` | `'»'` | The format of `renamed` |
|
| `renamed` | `'»'` | The format of `renamed` |
|
||||||
| `deleted` | `'✘'` | The format of `deleted` |
|
| `deleted` | `'✘'` | The format of `deleted` |
|
||||||
| `typechanged` | `""` | The format of `typechange` |
|
| `typechanged` | `""` | The format of `typechanged` |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Disables the `git_status` module. |
|
||||||
@@ -1911,7 +1910,7 @@ The following variables can be used in `format`:
|
|||||||
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
||||||
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
||||||
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
||||||
| `typechanged` | Displays `typechange` when a file's type has been changed in the staging area. |
|
| `typechanged` | Displays `typechanged` when a file's type has been changed in the staging area. |
|
||||||
| style\* | Mirrors the value of option `style` |
|
| style\* | Mirrors the value of option `style` |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
@@ -2257,6 +2256,7 @@ The `hostname` module shows the system hostname.
|
|||||||
| `format` | `'[$ssh_symbol$hostname]($style) in '` | The format for the module. |
|
| `format` | `'[$ssh_symbol$hostname]($style) in '` | The format for the module. |
|
||||||
| `style` | `'bold dimmed green'` | The style for the module. |
|
| `style` | `'bold dimmed green'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `hostname` module. |
|
| `disabled` | `false` | Disables the `hostname` module. |
|
||||||
|
| `aliases` | `{}` | Translate system hostnames to something else. If `trim_at` is specified, only the first part will be matched and replaced. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -2293,6 +2293,14 @@ detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|||||||
disabled = false
|
disabled = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Replace the hostname with a nickname
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
[hostname]
|
||||||
|
aliases = { "Max's MacBook Pro" = "home" }
|
||||||
|
```
|
||||||
|
|
||||||
## Java
|
## Java
|
||||||
|
|
||||||
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met:
|
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met:
|
||||||
@@ -2809,6 +2817,41 @@ truncation_length = 4
|
|||||||
truncation_symbol = ''
|
truncation_symbol = ''
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Mojo
|
||||||
|
|
||||||
|
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
| Option | Default | Description |
|
||||||
|
| ------------------- | ------------------------------------- | ------------------------------------------------------ |
|
||||||
|
| `format` | `'with [$symbol($version )]($style)'` | The format for the module. |
|
||||||
|
| `symbol` | `'🔥 '` | The symbol used before displaying the version of Mojo. |
|
||||||
|
| `style` | `'bold 208'` | The style for the module. |
|
||||||
|
| `disabled` | `false` | Disables the `mojo` module. |
|
||||||
|
| `detect_extensions` | `['mojo', '🔥']` | Which extensions should trigger this module. |
|
||||||
|
| `detect_files` | `[]` | Which filenames should trigger this module. |
|
||||||
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
|
||||||
|
| Variable | Example | Description |
|
||||||
|
| --------- | -------- | ------------------------------------ |
|
||||||
|
| version | `24.4.0` | The version of `mojo` |
|
||||||
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
|
||||||
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
|
### Example
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[mojo]
|
||||||
|
format = 'via [mojo ($version )($hash )]($style)'
|
||||||
|
```
|
||||||
|
|
||||||
## NATS
|
## NATS
|
||||||
|
|
||||||
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
||||||
@@ -2935,12 +2978,12 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
|
| ------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
||||||
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. |
|
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. |
|
| `detect_files` | `['package.json', '.node-version', '.nvmrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `['node_modules']` | Which folders should trigger this module. |
|
| `detect_folders` | `['node_modules']` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold green'` | The style for the module. |
|
| `style` | `'bold green'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `nodejs` module. |
|
| `disabled` | `false` | Disables the `nodejs` module. |
|
||||||
@@ -3015,7 +3058,7 @@ format = 'via [🐪 $version]($style) '
|
|||||||
|
|
||||||
## Odin
|
## Odin
|
||||||
|
|
||||||
The 'odin' module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
The `odin` module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -3159,6 +3202,7 @@ Amazon = "🙂 "
|
|||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
Artix = "🎗️ "
|
Artix = "🎗️ "
|
||||||
|
CachyOS = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@@ -3180,6 +3224,7 @@ MidnightBSD = "🌘 "
|
|||||||
Mint = "🌿 "
|
Mint = "🌿 "
|
||||||
NetBSD = "🚩 "
|
NetBSD = "🚩 "
|
||||||
NixOS = "❄️ "
|
NixOS = "❄️ "
|
||||||
|
Nobara = "🎩 "
|
||||||
OpenBSD = "🐡 "
|
OpenBSD = "🐡 "
|
||||||
OpenCloudOS = "☁️ "
|
OpenCloudOS = "☁️ "
|
||||||
openEuler = "🦉 "
|
openEuler = "🦉 "
|
||||||
@@ -3196,6 +3241,7 @@ SUSE = "🦎 "
|
|||||||
Ubuntu = "🎯 "
|
Ubuntu = "🎯 "
|
||||||
Ultramarine = "🔷 "
|
Ultramarine = "🔷 "
|
||||||
Unknown = "❓ "
|
Unknown = "❓ "
|
||||||
|
Uos = "🐲 "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = "🪟 "
|
Windows = "🪟 "
|
||||||
```
|
```
|
||||||
@@ -3492,13 +3538,15 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
- The current directory contains a `requirements.txt` file
|
- The current directory contains a `requirements.txt` file
|
||||||
- The current directory contains a `setup.py` file
|
- The current directory contains a `setup.py` file
|
||||||
- The current directory contains a `tox.ini` file
|
- The current directory contains a `tox.ini` file
|
||||||
|
- The current directory contains a `pixi.toml` file
|
||||||
- The current directory contains a file with the `.py` extension.
|
- The current directory contains a file with the `.py` extension.
|
||||||
|
- The current directory contains a file with the `.ipynb` extension.
|
||||||
- A virtual environment is currently activated
|
- A virtual environment is currently activated
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | The format for the module. |
|
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
||||||
@@ -3506,8 +3554,8 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
||||||
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
||||||
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
||||||
| `detect_extensions` | `['py']` | Which extensions should trigger this module |
|
| `detect_extensions` | `['py', 'ipynb']` | Which extensions should trigger this module |
|
||||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Which filenames should trigger this module |
|
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini', 'pixi.toml']` | Which filenames should trigger this module |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module |
|
| `detect_folders` | `[]` | Which folders should trigger this module |
|
||||||
| `disabled` | `false` | Disables the `python` module. |
|
| `disabled` | `false` | Disables the `python` module. |
|
||||||
|
|
||||||
@@ -4050,7 +4098,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
||||||
| `symbol` | `'❌'` | The symbol displayed on program error |
|
| `symbol` | `'❌'` | The symbol displayed on program error |
|
||||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||||
@@ -4059,18 +4107,20 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
|
| `success_style` | | The style used on program success (defaults to `style` if unset). |
|
||||||
|
| `failure_style` | | The style used on program failure (defaults to `style` if unset). |
|
||||||
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
||||||
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
||||||
| `pipestatus` | `false` | Enable pipestatus reporting |
|
| `pipestatus` | `false` | Enable pipestatus reporting |
|
||||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||||
| `disabled` | `true` | Disables the `status` module. |
|
| `disabled` | `true` | Disables the `status` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Example | Description |
|
| Variable | Example | Description |
|
||||||
| -------------- | ------- | ------------------------------------------------------------------------------------------ |
|
| -------------- | ------- | -------------------------------------------------------------------------------------------- |
|
||||||
| status | `127` | The exit code of the last command |
|
| status | `127` | The exit code of the last command |
|
||||||
| hex_status | `0x7F` | The exit code of the last command in hex |
|
| hex_status | `0x7F` | The exit code of the last command in hex |
|
||||||
| int | `127` | The exit code of the last command |
|
| int | `127` | The exit code of the last command |
|
||||||
@@ -4080,7 +4130,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
||||||
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
||||||
| symbol | | Mirrors the value of option `symbol` |
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| style\* | | Mirrors the value of option `success_style` on program success and `failure_style` otherwise |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
@@ -4350,7 +4400,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
| `format` | `'[$user]($style) in '` | The format for the module. |
|
| `format` | `'[$user]($style) in '` | The format for the module. |
|
||||||
| `show_always` | `false` | Always shows the `username` module. |
|
| `show_always` | `false` | Always shows the `username` module. |
|
||||||
| `disabled` | `false` | Disables the `username` module. |
|
| `disabled` | `false` | Disables the `username` module. |
|
||||||
| `aliases` | `{}` | Translate system usernames to something else |
|
| `aliases` | `{}` | Translate system usernames to something else. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -4361,7 +4411,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
|
|
||||||
### Example
|
### Example
|
||||||
|
|
||||||
#### Always show the hostname
|
#### Always show the username
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
@@ -4375,17 +4425,6 @@ show_always = true
|
|||||||
aliases = { "corpuser034g" = "matchai" }
|
aliases = { "corpuser034g" = "matchai" }
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Hide the hostname in remote tmux sessions
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|
||||||
disabled = false
|
|
||||||
```
|
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
|
|
||||||
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met:
|
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met:
|
||||||
@@ -4573,7 +4612,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
||||||
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. |
|
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the `shell` returns a `0` status code from executing it. |
|
||||||
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
||||||
| `shell` | | [See below](#custom-command-shell) |
|
| `shell` | | [See below](#custom-command-shell) |
|
||||||
| `description` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
| `description` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
||||||
@@ -4593,7 +4632,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
| Variable | Description |
|
| Variable | Description |
|
||||||
| --------- | -------------------------------------- |
|
| --------- | -------------------------------------- |
|
||||||
| output | The output of shell command in `shell` |
|
| output | The output of `command` run in `shell` |
|
||||||
| symbol | Mirrors the value of option `symbol` |
|
| symbol | Mirrors the value of option `symbol` |
|
||||||
| style\* | Mirrors the value of option `style` |
|
| style\* | Mirrors the value of option `style` |
|
||||||
|
|
||||||
@@ -4608,7 +4647,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
||||||
|
|
||||||
The `command` will be passed in on stdin.
|
The `command` (and `when`, if applicable) will be passed in on stdin.
|
||||||
|
|
||||||
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
||||||
|
|
||||||
|
|||||||
+14
-11
@@ -338,20 +338,14 @@ eval $(starship init ion)
|
|||||||
<details>
|
<details>
|
||||||
<summary>Nushell</summary>
|
<summary>Nushell</summary>
|
||||||
|
|
||||||
আপনার Nushell env ফাইলের (Nushell এ `$nu.env-path` কমান্ডটি রান করে ফাইলটি খুঁজে বের করুন) শেষে নিম্নলিখিত লাইনগুলি যোগ করুন:
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
```
|
||||||
|
|
||||||
এরপর আপনার Nushell কনফিগের (Nushell এ `$nu.config-path` কমান্ডটি রান করে ফাইলটি খুঁজে বের করুন) শেষে নিম্নলিখিত লাইনটি যোগ করুন:
|
Note: Only Nushell v0.96+ is supported
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
বিঃদ্রঃ শুধুমাত্র Nushell v0.78+ কাজ করবে ।
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -431,7 +425,16 @@ eval "$(starship init zsh)"
|
|||||||
|
|
||||||
[একজন স্পনসর হয়ে](https://github.com/sponsors/starship) এই প্রোজেক্টটিকে আর্থিক ভাবে সহায়তা করুন । আপনার নাম অথবা লোগো নিম্নে দেখা যাবে আপনার ওয়েবসাইট এর লিঙ্ক সহ ।
|
[একজন স্পনসর হয়ে](https://github.com/sponsors/starship) এই প্রোজেক্টটিকে আর্থিক ভাবে সহায়তা করুন । আপনার নাম অথবা লোগো নিম্নে দেখা যাবে আপনার ওয়েবসাইট এর লিঙ্ক সহ ।
|
||||||
|
|
||||||
- Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org)
|
## 🔒 Code Signing Policy
|
||||||
|
|
||||||
|
Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org).
|
||||||
|
|
||||||
|
Code Signing Roles:
|
||||||
|
|
||||||
|
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
|
||||||
|
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
|
||||||
|
|
||||||
|
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset changes the format of all the built-in modules to show their segment
|
|||||||
starship preset bracketed-segments -o ~/.config/starship.toml
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/bracketed-segments.toml
|
<<< @/public/presets/toml/bracketed-segments.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
|
|||||||
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml)
|
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ This is a pseudo minimalist preset inspired by the [geometry](https://github.com
|
|||||||
starship preset jetpack -o ~/.config/starship.toml
|
starship preset jetpack -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/jetpack.toml)
|
[Click to download TOML](/presets/toml/jetpack.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/jetpack.toml
|
<<< @/public/presets/toml/jetpack.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset changes the symbols for each module to use Nerd Font symbols.
|
|||||||
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/nerd-font-symbols.toml
|
<<< @/public/presets/toml/nerd-font-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ If toolset files are identified the toolset icon is displayed. If the toolset is
|
|||||||
starship preset no-empty-icons -o ~/.config/starship.toml
|
starship preset no-empty-icons -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-empty-icons.toml)
|
[Click to download TOML](/presets/toml/no-empty-icons.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-empty-icons.toml
|
<<< @/public/presets/toml/no-empty-icons.toml
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ This preset will become the default preset in a future release of starship.
|
|||||||
starship preset no-nerd-font -o ~/.config/starship.toml
|
starship preset no-nerd-font -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-nerd-font.toml)
|
[Click to download TOML](/presets/toml/no-nerd-font.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-nerd-font.toml
|
<<< @/public/presets/toml/no-nerd-font.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset hides the version of language runtimes. If you work in containers or
|
|||||||
starship preset no-runtime-versions -o ~/.config/starship.toml
|
starship preset no-runtime-versions -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-runtime-versions.toml
|
<<< @/public/presets/toml/no-runtime-versions.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m
|
|||||||
starship preset pastel-powerline -o ~/.config/starship.toml
|
starship preset pastel-powerline -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/pastel-powerline.toml)
|
[Click to download TOML](/presets/toml/pastel-powerline.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pastel-powerline.toml
|
<<< @/public/presets/toml/pastel-powerline.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset changes the symbols for each module into plain text. Great if you do
|
|||||||
starship preset plain-text-symbols -o ~/.config/starship.toml
|
starship preset plain-text-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/plain-text-symbols.toml
|
<<< @/public/presets/toml/plain-text-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset emulates the look and behavior of [Pure](https://github.com/sindreso
|
|||||||
starship preset pure-preset -o ~/.config/starship.toml
|
starship preset pure-preset -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/pure-preset.toml)
|
[Click to download TOML](/presets/toml/pure-preset.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pure-preset.toml
|
<<< @/public/presets/toml/pure-preset.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t
|
|||||||
starship preset tokyo-night -o ~/.config/starship.toml
|
starship preset tokyo-night -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/tokyo-night.toml)
|
[Click to download TOML](/presets/toml/tokyo-night.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/tokyo-night.toml
|
<<< @/public/presets/toml/tokyo-night.toml
|
||||||
|
|||||||
+4
-10
@@ -166,21 +166,15 @@ onMounted(() => {
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
This will change in the future. Only Nushell v0.78+ is supported.
|
This will change in the future. Only Nushell v0.96+ is supported.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
|
||||||
|
|
||||||
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -553,10 +553,7 @@ discharging_symbol = '💦 '
|
|||||||
|
|
||||||
## Buf
|
## Buf
|
||||||
|
|
||||||
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if all of the following conditions are met:
|
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if the current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||||
|
|
||||||
- The [`buf`](https://github.com/bufbuild/buf) CLI is installed.
|
|
||||||
- The current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -594,18 +591,19 @@ symbol = '🦬 '
|
|||||||
|
|
||||||
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met:
|
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
|
- The current directory contains a `bun.lock` file
|
||||||
- The current directory contains a `bun.lockb` file
|
- The current directory contains a `bun.lockb` file
|
||||||
- The current directory contains a `bunfig.toml` file
|
- The current directory contains a `bunfig.toml` file
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
| `detect_files` | `['bun.lock', 'bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `bun` module. |
|
| `disabled` | `false` | Disables the `bun` module. |
|
||||||
@@ -635,7 +633,7 @@ format = 'via [🍔 $version](bold green) '
|
|||||||
|
|
||||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[nodejs]
|
[nodejs]
|
||||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||||
```
|
```
|
||||||
@@ -863,7 +861,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`.
|
This does not suppress conda's own prompt modifier, you may want to run `conda config --set changeps1 False`. If you use [pixi](https://pixi.sh), you can disable pixi's prompt modifier by running `pixi config set change-ps1 false`.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -1050,17 +1048,17 @@ format = 'via [🔰 $version](bold red) '
|
|||||||
|
|
||||||
The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met:
|
The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
- The current directory contains a `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
- The current directory contains a `deno.json`, `deno.jsonc`, `deno.lock`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🦕 '` | A format string representing the symbol of Deno |
|
| `symbol` | `'🦕 '` | A format string representing the symbol of Deno |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. |
|
| `detect_files` | `['deno.json', 'deno.jsonc', 'deno.lock', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'green bold'` | The style for the module. |
|
| `style` | `'green bold'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `deno` module. |
|
| `disabled` | `false` | Disables the `deno` module. |
|
||||||
@@ -1117,7 +1115,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
|
|||||||
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
||||||
| `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. |
|
| `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.
|
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories of Java. Note that this will disable the fish style PWD.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
@@ -1170,7 +1168,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | -------------------------------------- | ----------------------------------------------------- |
|
| ------------------- | -------------------------------------- | ------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$loaded/$allowed]($style) '` | The format for the module. |
|
| `format` | `'[$symbol$loaded/$allowed]($style) '` | The format for the module. |
|
||||||
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
||||||
| `style` | `'bold orange'` | The style for the module. |
|
| `style` | `'bold orange'` | The style for the module. |
|
||||||
@@ -1178,6 +1176,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
| `detect_env_vars` | `['DIRENV_FILE']` | Which environment variables should trigger this module. |
|
||||||
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
||||||
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
||||||
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
||||||
@@ -1207,7 +1206,7 @@ disabled = false
|
|||||||
|
|
||||||
## Docker Context
|
## Docker Context
|
||||||
|
|
||||||
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_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
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 `desktop-linux`, or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -1890,7 +1889,7 @@ The Git Status module is very slow in Windows directories (for example under `/m
|
|||||||
| `staged` | `'+'` | The format of `staged` |
|
| `staged` | `'+'` | The format of `staged` |
|
||||||
| `renamed` | `'»'` | The format of `renamed` |
|
| `renamed` | `'»'` | The format of `renamed` |
|
||||||
| `deleted` | `'✘'` | The format of `deleted` |
|
| `deleted` | `'✘'` | The format of `deleted` |
|
||||||
| `typechanged` | `""` | The format of `typechange` |
|
| `typechanged` | `""` | The format of `typechanged` |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Disables the `git_status` module. |
|
||||||
@@ -1911,7 +1910,7 @@ The following variables can be used in `format`:
|
|||||||
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
||||||
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
||||||
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
||||||
| `typechanged` | Displays `typechange` when a file's type has been changed in the staging area. |
|
| `typechanged` | Displays `typechanged` when a file's type has been changed in the staging area. |
|
||||||
| style\* | Mirrors the value of option `style` |
|
| style\* | Mirrors the value of option `style` |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
@@ -2257,6 +2256,7 @@ The `hostname` module shows the system hostname.
|
|||||||
| `format` | `'[$ssh_symbol$hostname]($style) in '` | The format for the module. |
|
| `format` | `'[$ssh_symbol$hostname]($style) in '` | The format for the module. |
|
||||||
| `style` | `'bold dimmed green'` | The style for the module. |
|
| `style` | `'bold dimmed green'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `hostname` module. |
|
| `disabled` | `false` | Disables the `hostname` module. |
|
||||||
|
| `aliases` | `{}` | Translate system hostnames to something else. If `trim_at` is specified, only the first part will be matched and replaced. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -2293,6 +2293,14 @@ detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|||||||
disabled = false
|
disabled = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Replace the hostname with a nickname
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
[hostname]
|
||||||
|
aliases = { "Max's MacBook Pro" = "home" }
|
||||||
|
```
|
||||||
|
|
||||||
## Java
|
## Java
|
||||||
|
|
||||||
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met:
|
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met:
|
||||||
@@ -2809,6 +2817,41 @@ truncation_length = 4
|
|||||||
truncation_symbol = ''
|
truncation_symbol = ''
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Mojo
|
||||||
|
|
||||||
|
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
| Option | Default | Description |
|
||||||
|
| ------------------- | ------------------------------------- | ------------------------------------------------------ |
|
||||||
|
| `format` | `'with [$symbol($version )]($style)'` | The format for the module. |
|
||||||
|
| `symbol` | `'🔥 '` | The symbol used before displaying the version of Mojo. |
|
||||||
|
| `style` | `'bold 208'` | The style for the module. |
|
||||||
|
| `disabled` | `false` | Disables the `mojo` module. |
|
||||||
|
| `detect_extensions` | `['mojo', '🔥']` | Which extensions should trigger this module. |
|
||||||
|
| `detect_files` | `[]` | Which filenames should trigger this module. |
|
||||||
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
|
||||||
|
| گۆڕاو | نموونە | Description |
|
||||||
|
| --------- | -------- | ------------------------------------ |
|
||||||
|
| version | `24.4.0` | The version of `mojo` |
|
||||||
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
|
| style\* | | Mirrors the value of option `style` |
|
||||||
|
|
||||||
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
|
### نموونە
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[mojo]
|
||||||
|
format = 'via [mojo ($version )($hash )]($style)'
|
||||||
|
```
|
||||||
|
|
||||||
## NATS
|
## NATS
|
||||||
|
|
||||||
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
||||||
@@ -2935,12 +2978,12 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
|
| ------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
||||||
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. |
|
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. |
|
| `detect_files` | `['package.json', '.node-version', '.nvmrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `['node_modules']` | Which folders should trigger this module. |
|
| `detect_folders` | `['node_modules']` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold green'` | The style for the module. |
|
| `style` | `'bold green'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `nodejs` module. |
|
| `disabled` | `false` | Disables the `nodejs` module. |
|
||||||
@@ -3015,7 +3058,7 @@ format = 'via [🐪 $version]($style) '
|
|||||||
|
|
||||||
## Odin
|
## Odin
|
||||||
|
|
||||||
The 'odin' module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
The `odin` module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -3159,6 +3202,7 @@ Amazon = "🙂 "
|
|||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
Artix = "🎗️ "
|
Artix = "🎗️ "
|
||||||
|
CachyOS = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@@ -3180,6 +3224,7 @@ MidnightBSD = "🌘 "
|
|||||||
Mint = "🌿 "
|
Mint = "🌿 "
|
||||||
NetBSD = "🚩 "
|
NetBSD = "🚩 "
|
||||||
NixOS = "❄️ "
|
NixOS = "❄️ "
|
||||||
|
Nobara = "🎩 "
|
||||||
OpenBSD = "🐡 "
|
OpenBSD = "🐡 "
|
||||||
OpenCloudOS = "☁️ "
|
OpenCloudOS = "☁️ "
|
||||||
openEuler = "🦉 "
|
openEuler = "🦉 "
|
||||||
@@ -3196,6 +3241,7 @@ SUSE = "🦎 "
|
|||||||
Ubuntu = "🎯 "
|
Ubuntu = "🎯 "
|
||||||
Ultramarine = "🔷 "
|
Ultramarine = "🔷 "
|
||||||
Unknown = "❓ "
|
Unknown = "❓ "
|
||||||
|
Uos = "🐲 "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = "🪟 "
|
Windows = "🪟 "
|
||||||
```
|
```
|
||||||
@@ -3492,13 +3538,15 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
- The current directory contains a `requirements.txt` file
|
- The current directory contains a `requirements.txt` file
|
||||||
- The current directory contains a `setup.py` file
|
- The current directory contains a `setup.py` file
|
||||||
- The current directory contains a `tox.ini` file
|
- The current directory contains a `tox.ini` file
|
||||||
|
- The current directory contains a `pixi.toml` file
|
||||||
- The current directory contains a file with the `.py` extension.
|
- The current directory contains a file with the `.py` extension.
|
||||||
|
- The current directory contains a file with the `.ipynb` extension.
|
||||||
- A virtual environment is currently activated
|
- A virtual environment is currently activated
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | The format for the module. |
|
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
||||||
@@ -3506,8 +3554,8 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
||||||
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
||||||
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
||||||
| `detect_extensions` | `['py']` | Which extensions should trigger this module |
|
| `detect_extensions` | `['py', 'ipynb']` | Which extensions should trigger this module |
|
||||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Which filenames should trigger this module |
|
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini', 'pixi.toml']` | Which filenames should trigger this module |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module |
|
| `detect_folders` | `[]` | Which folders should trigger this module |
|
||||||
| `disabled` | `false` | Disables the `python` module. |
|
| `disabled` | `false` | Disables the `python` module. |
|
||||||
|
|
||||||
@@ -4050,7 +4098,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
||||||
| `symbol` | `'❌'` | The symbol displayed on program error |
|
| `symbol` | `'❌'` | The symbol displayed on program error |
|
||||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||||
@@ -4059,18 +4107,20 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
|
| `success_style` | | The style used on program success (defaults to `style` if unset). |
|
||||||
|
| `failure_style` | | The style used on program failure (defaults to `style` if unset). |
|
||||||
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
||||||
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
||||||
| `pipestatus` | `false` | Enable pipestatus reporting |
|
| `pipestatus` | `false` | Enable pipestatus reporting |
|
||||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||||
| `disabled` | `true` | Disables the `status` module. |
|
| `disabled` | `true` | Disables the `status` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| گۆڕاو | نموونە | Description |
|
| گۆڕاو | نموونە | Description |
|
||||||
| -------------- | ------- | ------------------------------------------------------------------------------------------ |
|
| -------------- | ------- | -------------------------------------------------------------------------------------------- |
|
||||||
| status | `127` | The exit code of the last command |
|
| status | `127` | The exit code of the last command |
|
||||||
| hex_status | `0x7F` | The exit code of the last command in hex |
|
| hex_status | `0x7F` | The exit code of the last command in hex |
|
||||||
| int | `127` | The exit code of the last command |
|
| int | `127` | The exit code of the last command |
|
||||||
@@ -4080,7 +4130,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
||||||
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
||||||
| symbol | | Mirrors the value of option `symbol` |
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| style\* | | Mirrors the value of option `success_style` on program success and `failure_style` otherwise |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
@@ -4350,7 +4400,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
| `format` | `'[$user]($style) in '` | The format for the module. |
|
| `format` | `'[$user]($style) in '` | The format for the module. |
|
||||||
| `show_always` | `false` | Always shows the `username` module. |
|
| `show_always` | `false` | Always shows the `username` module. |
|
||||||
| `disabled` | `false` | Disables the `username` module. |
|
| `disabled` | `false` | Disables the `username` module. |
|
||||||
| `aliases` | `{}` | Translate system usernames to something else |
|
| `aliases` | `{}` | Translate system usernames to something else. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -4361,7 +4411,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
|
|
||||||
### نموونە
|
### نموونە
|
||||||
|
|
||||||
#### Always show the hostname
|
#### Always show the username
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
@@ -4375,17 +4425,6 @@ show_always = true
|
|||||||
aliases = { "corpuser034g" = "matchai" }
|
aliases = { "corpuser034g" = "matchai" }
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Hide the hostname in remote tmux sessions
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|
||||||
disabled = false
|
|
||||||
```
|
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
|
|
||||||
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met:
|
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met:
|
||||||
@@ -4573,7 +4612,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
||||||
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. |
|
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the `shell` returns a `0` status code from executing it. |
|
||||||
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
||||||
| `shell` | | [See below](#custom-command-shell) |
|
| `shell` | | [See below](#custom-command-shell) |
|
||||||
| `description` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
| `description` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
||||||
@@ -4593,7 +4632,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
| گۆڕاو | Description |
|
| گۆڕاو | Description |
|
||||||
| --------- | -------------------------------------- |
|
| --------- | -------------------------------------- |
|
||||||
| output | The output of shell command in `shell` |
|
| output | The output of `command` run in `shell` |
|
||||||
| symbol | Mirrors the value of option `symbol` |
|
| symbol | Mirrors the value of option `symbol` |
|
||||||
| style\* | Mirrors the value of option `style` |
|
| style\* | Mirrors the value of option `style` |
|
||||||
|
|
||||||
@@ -4608,7 +4647,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
||||||
|
|
||||||
The `command` will be passed in on stdin.
|
The `command` (and `when`, if applicable) will be passed in on stdin.
|
||||||
|
|
||||||
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
||||||
|
|
||||||
|
|||||||
+14
-11
@@ -334,20 +334,14 @@ eval $(starship init ion)
|
|||||||
<details>
|
<details>
|
||||||
<summary>Nushell</summary>
|
<summary>Nushell</summary>
|
||||||
|
|
||||||
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
```
|
||||||
|
|
||||||
And add the following to the end of your Nushell configuration (find it by running `$nu.config-path`):
|
Note: Only Nushell v0.96+ is supported
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
Note: Only Nushell v0.78+ is supported
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -427,7 +421,16 @@ If you're looking to further customize Starship:
|
|||||||
|
|
||||||
Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website.
|
Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website.
|
||||||
|
|
||||||
- Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org)
|
## 🔒 Code Signing Policy
|
||||||
|
|
||||||
|
Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org).
|
||||||
|
|
||||||
|
Code Signing Roles:
|
||||||
|
|
||||||
|
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
|
||||||
|
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
|
||||||
|
|
||||||
|
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset changes the format of all the built-in modules to show their segment
|
|||||||
starship preset bracketed-segments -o ~/.config/starship.toml
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/bracketed-segments.toml)
|
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/bracketed-segments.toml
|
<<< @/public/presets/toml/bracketed-segments.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
|
|||||||
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml)
|
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ This is a pseudo minimalist preset inspired by the [geometry](https://github.com
|
|||||||
starship preset jetpack -o ~/.config/starship.toml
|
starship preset jetpack -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/jetpack.toml)
|
[Click to download TOML](/presets/toml/jetpack.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/jetpack.toml
|
<<< @/public/presets/toml/jetpack.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset changes the symbols for each module to use Nerd Font symbols.
|
|||||||
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/nerd-font-symbols.toml)
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/nerd-font-symbols.toml
|
<<< @/public/presets/toml/nerd-font-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ If toolset files are identified the toolset icon is displayed. If the toolset is
|
|||||||
starship preset no-empty-icons -o ~/.config/starship.toml
|
starship preset no-empty-icons -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-empty-icons.toml)
|
[Click to download TOML](/presets/toml/no-empty-icons.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-empty-icons.toml
|
<<< @/public/presets/toml/no-empty-icons.toml
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ This preset will become the default preset in a future release of starship.
|
|||||||
starship preset no-nerd-font -o ~/.config/starship.toml
|
starship preset no-nerd-font -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-nerd-font.toml)
|
[Click to download TOML](/presets/toml/no-nerd-font.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-nerd-font.toml
|
<<< @/public/presets/toml/no-nerd-font.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@
|
|||||||
starship preset no-runtime-versions -o ~/.config/starship.toml
|
starship preset no-runtime-versions -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/no-runtime-versions.toml)
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-runtime-versions.toml
|
<<< @/public/presets/toml/no-runtime-versions.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m
|
|||||||
starship preset pastel-powerline -o ~/.config/starship.toml
|
starship preset pastel-powerline -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/pastel-powerline.toml)
|
[Click to download TOML](/presets/toml/pastel-powerline.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pastel-powerline.toml
|
<<< @/public/presets/toml/pastel-powerline.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset changes the symbols for each module into plain text. Great if you do
|
|||||||
starship preset plain-text-symbols -o ~/.config/starship.toml
|
starship preset plain-text-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/plain-text-symbols.toml)
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/plain-text-symbols.toml
|
<<< @/public/presets/toml/plain-text-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@
|
|||||||
starship preset pure-preset -o ~/.config/starship.toml
|
starship preset pure-preset -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/pure-preset.toml)
|
[Click to download TOML](/presets/toml/pure-preset.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pure-preset.toml
|
<<< @/public/presets/toml/pure-preset.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t
|
|||||||
starship preset tokyo-night -o ~/.config/starship.toml
|
starship preset tokyo-night -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Click to download TOML](/presets/toml/tokyo-night.toml)
|
[Click to download TOML](/presets/toml/tokyo-night.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/tokyo-night.toml
|
<<< @/public/presets/toml/tokyo-night.toml
|
||||||
|
|||||||
+15
-8
@@ -618,18 +618,19 @@ symbol = '🦬 '
|
|||||||
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime.
|
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime.
|
||||||
By default the module will be shown if any of the following conditions are met:
|
By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
|
- The current directory contains a `bun.lock` file
|
||||||
- The current directory contains a `bun.lockb` file
|
- The current directory contains a `bun.lockb` file
|
||||||
- The current directory contains a `bunfig.toml` file
|
- The current directory contains a `bunfig.toml` file
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
| `detect_files` | `['bun.lock', 'bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
| `disabled` | `false` | Disables the `bun` module. |
|
| `disabled` | `false` | Disables the `bun` module. |
|
||||||
@@ -1228,7 +1229,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| ------------------- | -------------------------------------- | ----------------------------------------------------- |
|
| ------------------- | -------------------------------------- | ------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$loaded/$allowed]($style) '` | The format for the module. |
|
| `format` | `'[$symbol$loaded/$allowed]($style) '` | The format for the module. |
|
||||||
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
||||||
| `style` | `'bold orange'` | The style for the module. |
|
| `style` | `'bold orange'` | The style for the module. |
|
||||||
@@ -1236,6 +1237,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
| `detect_env_vars` | `['DIRENV_FILE']` | Which environment variables should trigger this module. |
|
||||||
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
||||||
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
||||||
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
||||||
@@ -3190,7 +3192,7 @@ format = 'via [🐪 $version]($style) '
|
|||||||
|
|
||||||
## Odin
|
## Odin
|
||||||
|
|
||||||
The 'odin' module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
The `odin` module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
@@ -3343,6 +3345,7 @@ Amazon = "🙂 "
|
|||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
Artix = "🎗️ "
|
Artix = "🎗️ "
|
||||||
|
CachyOS = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@@ -3364,6 +3367,7 @@ MidnightBSD = "🌘 "
|
|||||||
Mint = "🌿 "
|
Mint = "🌿 "
|
||||||
NetBSD = "🚩 "
|
NetBSD = "🚩 "
|
||||||
NixOS = "❄️ "
|
NixOS = "❄️ "
|
||||||
|
Nobara = "🎩 "
|
||||||
OpenBSD = "🐡 "
|
OpenBSD = "🐡 "
|
||||||
OpenCloudOS = "☁️ "
|
OpenCloudOS = "☁️ "
|
||||||
openEuler = "🦉 "
|
openEuler = "🦉 "
|
||||||
@@ -3380,6 +3384,7 @@ SUSE = "🦎 "
|
|||||||
Ubuntu = "🎯 "
|
Ubuntu = "🎯 "
|
||||||
Ultramarine = "🔷 "
|
Ultramarine = "🔷 "
|
||||||
Unknown = "❓ "
|
Unknown = "❓ "
|
||||||
|
Uos = "🐲 "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = "🪟 "
|
Windows = "🪟 "
|
||||||
```
|
```
|
||||||
@@ -4273,7 +4278,7 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Default | Description |
|
| Option | Default | Description |
|
||||||
| --------------------------- | ----------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
| --------------------------- | ------------------------------------------------------------------------------ | --------------------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
||||||
| `symbol` | `'❌'` | The symbol displayed on program error |
|
| `symbol` | `'❌'` | The symbol displayed on program error |
|
||||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||||
@@ -4282,18 +4287,20 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
||||||
| `style` | `'bold red'` | The style for the module. |
|
| `style` | `'bold red'` | The style for the module. |
|
||||||
|
| `success_style` | | The style used on program success (defaults to `style` if unset). |
|
||||||
|
| `failure_style` | | The style used on program failure (defaults to `style` if unset). |
|
||||||
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
||||||
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
||||||
| `pipestatus` | `false` | Enable pipestatus reporting |
|
| `pipestatus` | `false` | Enable pipestatus reporting |
|
||||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||||
| `disabled` | `true` | Disables the `status` module. |
|
| `disabled` | `true` | Disables the `status` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Example | Description |
|
| Variable | Example | Description |
|
||||||
| -------------- | ------- | ------------------------------------------------------------------------------------------ |
|
| -------------- | ------- | -------------------------------------------------------------------------------------------- |
|
||||||
| status | `127` | The exit code of the last command |
|
| status | `127` | The exit code of the last command |
|
||||||
| hex_status | `0x7F` | The exit code of the last command in hex |
|
| hex_status | `0x7F` | The exit code of the last command in hex |
|
||||||
| int | `127` | The exit code of the last command |
|
| int | `127` | The exit code of the last command |
|
||||||
@@ -4303,7 +4310,7 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
||||||
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
||||||
| symbol | | Mirrors the value of option `symbol` |
|
| symbol | | Mirrors the value of option `symbol` |
|
||||||
| style\* | | Mirrors the value of option `style` |
|
| style\* | | Mirrors the value of option `success_style` on program success and `failure_style` otherwise |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
|
|||||||
+4
-10
@@ -166,21 +166,15 @@ onMounted(() => {
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
Das wird sich in Zukunft ändern. Nur Nushell v0.78+ wird unterstützt.
|
Das wird sich in Zukunft ändern. Only Nushell v0.96+ is supported.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Füge folgendes zum Ende deiner Nushell env Datei hinzu (finde sie, indem du `$nu.env-path` in Nushell ausführst):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
|
||||||
|
|
||||||
Und füge folgendes am Ende deiner Nushell-Konfiguration hinzu (du findest diese, indem du folgenden Befehl in Nushell ausführst `$nu.config-path`):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+81
-42
@@ -554,10 +554,7 @@ discharging_symbol = '💦 '
|
|||||||
|
|
||||||
## Buf
|
## Buf
|
||||||
|
|
||||||
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if all of the following conditions are met:
|
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if the current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||||
|
|
||||||
- The [`buf`](https://github.com/bufbuild/buf) CLI is installed.
|
|
||||||
- The current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
@@ -595,18 +592,19 @@ symbol = '🦬 '
|
|||||||
|
|
||||||
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met:
|
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
|
- Das aktuelle Verzeichnis enthält eine `bun.lock`-Datei
|
||||||
- Das aktuelle Verzeichnis enthält eine `bun.lockb`-Datei
|
- Das aktuelle Verzeichnis enthält eine `bun.lockb`-Datei
|
||||||
- Das aktuelle Verzeichnis enthält eine `bunfig.toml`-Datei
|
- Das aktuelle Verzeichnis enthält eine `bunfig.toml`-Datei
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standardwert | Beschreibung |
|
| Option | Standardwert | Beschreibung |
|
||||||
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Das Format für das Modul. |
|
| `format` | `'via [$symbol($version )]($style)'` | Das Format für das Modul. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
| `detect_files` | `['bun.lock', 'bun.lockb', 'bunfig.toml']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold red'` | Stil für dieses Modul. |
|
| `style` | `'bold red'` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `bun` module. |
|
| `disabled` | `false` | Disables the `bun` module. |
|
||||||
@@ -636,7 +634,7 @@ format = 'via [🍔 $version](bold green) '
|
|||||||
|
|
||||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[nodejs]
|
[nodejs]
|
||||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||||
```
|
```
|
||||||
@@ -864,7 +862,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
Hinweis: Dies unterdrückt nicht conda's eigenen Prompt-Modifikator, sie können jedoch conda mit `conda config --set changeps1 False` konfigurieren, um die Ausgabe von conda selbst auszuschalten.
|
Hinweis: Dies unterdrückt nicht conda's eigenen Prompt-Modifikator, sie können jedoch conda mit `conda config --set changeps1 False` konfigurieren, um die Ausgabe von conda selbst auszuschalten. If you use [pixi](https://pixi.sh), you can disable pixi's prompt modifier by running `pixi config set change-ps1 false`.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -1051,17 +1049,17 @@ format = 'via [🔰 $version](bold red) '
|
|||||||
|
|
||||||
The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met:
|
The `deno` module shows you your currently installed version of [Deno](https://deno.land/). By default the module will be shown if any of the following conditions are met:
|
||||||
|
|
||||||
- The current directory contains a `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
- The current directory contains a `deno.json`, `deno.jsonc`, `deno.lock`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standartwert | Beschreibung |
|
| Option | Standartwert | Beschreibung |
|
||||||
| ------------------- | ----------------------------------------------------------------------- | ------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Das Format für das Modul. |
|
| `format` | `'via [$symbol($version )]($style)'` | Das Format für das Modul. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🦕 '` | A format string representing the symbol of Deno |
|
| `symbol` | `'🦕 '` | A format string representing the symbol of Deno |
|
||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. |
|
| `detect_files` | `['deno.json', 'deno.jsonc', 'deno.lock', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
| `style` | `'green bold'` | Stil für dieses Modul. |
|
| `style` | `'green bold'` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Disables the `deno` module. |
|
| `disabled` | `false` | Disables the `deno` module. |
|
||||||
@@ -1118,7 +1116,7 @@ For example, given `~/Dev/Nix/nixpkgs/pkgs` where `nixpkgs` is the repo root, an
|
|||||||
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
||||||
| `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. |
|
| `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.
|
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories of Java. Note that this will disable the fish style PWD.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
@@ -1171,7 +1169,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standartwert | Beschreibung |
|
| Option | Standartwert | Beschreibung |
|
||||||
| ------------------- | -------------------------------------- | ----------------------------------------------------- |
|
| ------------------- | -------------------------------------- | ------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$loaded/$allowed]($style) '` | Das Format für das Modul. |
|
| `format` | `'[$symbol$loaded/$allowed]($style) '` | Das Format für das Modul. |
|
||||||
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
||||||
| `style` | `'bold orange'` | Stil für dieses Modul. |
|
| `style` | `'bold orange'` | Stil für dieses Modul. |
|
||||||
@@ -1179,6 +1177,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
| `detect_files` | `['.envrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
| `detect_env_vars` | `['DIRENV_FILE']` | Which environment variables should trigger this module. |
|
||||||
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
||||||
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
||||||
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
||||||
@@ -1208,7 +1207,7 @@ disabled = false
|
|||||||
|
|
||||||
## Docker Context
|
## Docker Context
|
||||||
|
|
||||||
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_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
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 `desktop-linux`, or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
@@ -1891,7 +1890,7 @@ The Git Status module is very slow in Windows directories (for example under `/m
|
|||||||
| `staged` | `'+'` | The format of `staged` |
|
| `staged` | `'+'` | The format of `staged` |
|
||||||
| `renamed` | `'»'` | The format of `renamed` |
|
| `renamed` | `'»'` | The format of `renamed` |
|
||||||
| `deleted` | `'✘'` | The format of `deleted` |
|
| `deleted` | `'✘'` | The format of `deleted` |
|
||||||
| `typechanged` | `""` | The format of `typechange` |
|
| `typechanged` | `""` | The format of `typechanged` |
|
||||||
| `style` | `'bold red'` | Stil für dieses Modul. |
|
| `style` | `'bold red'` | Stil für dieses Modul. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Deaktiviert das `git_status`-Modul. |
|
| `disabled` | `false` | Deaktiviert das `git_status`-Modul. |
|
||||||
@@ -1912,7 +1911,7 @@ The following variables can be used in `format`:
|
|||||||
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
||||||
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
||||||
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
||||||
| `typechanged` | Displays `typechange` when a file's type has been changed in the staging area. |
|
| `typechanged` | Displays `typechanged` when a file's type has been changed in the staging area. |
|
||||||
| style\* | Spiegelt den Wert der Option `style` |
|
| style\* | Spiegelt den Wert der Option `style` |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
@@ -2258,6 +2257,7 @@ Das `hostname`-Modul zeigt den Hostnamen des Systems an.
|
|||||||
| `format` | `'[$ssh_symbol$hostname]($style) in '` | Das Format für das Modul. |
|
| `format` | `'[$ssh_symbol$hostname]($style) in '` | Das Format für das Modul. |
|
||||||
| `style` | `'bold dimmed green'` | Stil für dieses Modul. |
|
| `style` | `'bold dimmed green'` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Deaktiviert das `hostname`-Modul. |
|
| `disabled` | `false` | Deaktiviert das `hostname`-Modul. |
|
||||||
|
| `aliases` | `{}` | Translate system hostnames to something else. If `trim_at` is specified, only the first part will be matched and replaced. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -2294,6 +2294,14 @@ detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|||||||
disabled = false
|
disabled = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Replace the hostname with a nickname
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
[hostname]
|
||||||
|
aliases = { "Max's MacBook Pro" = "home" }
|
||||||
|
```
|
||||||
|
|
||||||
## Java
|
## Java
|
||||||
|
|
||||||
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met:
|
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). By default the module will be shown if any of the following conditions are met:
|
||||||
@@ -2810,6 +2818,41 @@ truncation_length = 4
|
|||||||
truncation_symbol = ''
|
truncation_symbol = ''
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Mojo
|
||||||
|
|
||||||
|
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||||
|
|
||||||
|
### Optionen
|
||||||
|
|
||||||
|
| Option | Standartwert | Beschreibung |
|
||||||
|
| ------------------- | ------------------------------------- | ------------------------------------------------------ |
|
||||||
|
| `format` | `'with [$symbol($version )]($style)'` | Das Format für das Modul. |
|
||||||
|
| `symbol` | `'🔥 '` | The symbol used before displaying the version of Mojo. |
|
||||||
|
| `style` | `'bold 208'` | Stil für dieses Modul. |
|
||||||
|
| `disabled` | `false` | Disables the `mojo` module. |
|
||||||
|
| `detect_extensions` | `['mojo', '🔥']` | Which extensions should trigger this module. |
|
||||||
|
| `detect_files` | `[]` | Which filenames should trigger this module. |
|
||||||
|
| `detect_folders` | `[]` | Which folders should trigger this module. |
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
|
||||||
|
| Variable | Beispiel | Beschreibung |
|
||||||
|
| --------- | -------- | ------------------------------------- |
|
||||||
|
| version | `24.4.0` | The version of `mojo` |
|
||||||
|
| symbol | | Spiegelt den Wert der Option `symbol` |
|
||||||
|
| style\* | | Spiegelt den Wert der Option `style` |
|
||||||
|
|
||||||
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
|
### Beispiel
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[mojo]
|
||||||
|
format = 'via [mojo ($version )($hash )]($style)'
|
||||||
|
```
|
||||||
|
|
||||||
## NATS
|
## NATS
|
||||||
|
|
||||||
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
||||||
@@ -2936,12 +2979,12 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n
|
|||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standartwert | Beschreibung |
|
| Option | Standartwert | Beschreibung |
|
||||||
| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
|
| ------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Das Format für das Modul. |
|
| `format` | `'via [$symbol($version )]($style)'` | Das Format für das Modul. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
||||||
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. |
|
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Which extensions should trigger this module. |
|
||||||
| `detect_files` | `['package.json', '.node-version']` | Which filenames should trigger this module. |
|
| `detect_files` | `['package.json', '.node-version', '.nvmrc']` | Which filenames should trigger this module. |
|
||||||
| `detect_folders` | `['node_modules']` | Which folders should trigger this module. |
|
| `detect_folders` | `['node_modules']` | Which folders should trigger this module. |
|
||||||
| `style` | `'bold green'` | Stil für dieses Modul. |
|
| `style` | `'bold green'` | Stil für dieses Modul. |
|
||||||
| `disabled` | `false` | Deaktiviert das `nodejs`-Modul. |
|
| `disabled` | `false` | Deaktiviert das `nodejs`-Modul. |
|
||||||
@@ -3016,7 +3059,7 @@ format = 'via [🐪 $version]($style) '
|
|||||||
|
|
||||||
## Odin
|
## Odin
|
||||||
|
|
||||||
The 'odin' module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
The `odin` module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
@@ -3160,6 +3203,7 @@ Amazon = "🙂 "
|
|||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
Artix = "🎗️ "
|
Artix = "🎗️ "
|
||||||
|
CachyOS = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@@ -3181,6 +3225,7 @@ MidnightBSD = "🌘 "
|
|||||||
Mint = "🌿 "
|
Mint = "🌿 "
|
||||||
NetBSD = "🚩 "
|
NetBSD = "🚩 "
|
||||||
NixOS = "❄️ "
|
NixOS = "❄️ "
|
||||||
|
Nobara = "🎩 "
|
||||||
OpenBSD = "🐡 "
|
OpenBSD = "🐡 "
|
||||||
OpenCloudOS = "☁️ "
|
OpenCloudOS = "☁️ "
|
||||||
openEuler = "🦉 "
|
openEuler = "🦉 "
|
||||||
@@ -3197,6 +3242,7 @@ SUSE = "🦎 "
|
|||||||
Ubuntu = "🎯 "
|
Ubuntu = "🎯 "
|
||||||
Ultramarine = "🔷 "
|
Ultramarine = "🔷 "
|
||||||
Unknown = "❓ "
|
Unknown = "❓ "
|
||||||
|
Uos = "🐲 "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = "🪟 "
|
Windows = "🪟 "
|
||||||
```
|
```
|
||||||
@@ -3493,13 +3539,15 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
- Das aktuelle Verzeichnis enthält eine `requirements.txt`-Datei
|
- Das aktuelle Verzeichnis enthält eine `requirements.txt`-Datei
|
||||||
- Das aktuelle Verzeichnis enthält eine `setup.py`-Datei
|
- Das aktuelle Verzeichnis enthält eine `setup.py`-Datei
|
||||||
- Das aktuelle Verzeichnis enthält eine `tox.ini`-Datei
|
- Das aktuelle Verzeichnis enthält eine `tox.ini`-Datei
|
||||||
|
- Das aktuelle Verzeichnis enthält eine `pixi.toml`-Datei
|
||||||
- Das aktuelle Verzeichnis enthält eine Datei mit der `.py`-Erweiterung.
|
- Das aktuelle Verzeichnis enthält eine Datei mit der `.py`-Erweiterung.
|
||||||
|
- The current directory contains a file with the `.ipynb` extension.
|
||||||
- Ein virtualenv ist momentan aktiv
|
- Ein virtualenv ist momentan aktiv
|
||||||
|
|
||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standartwert | Beschreibung |
|
| Option | Standartwert | Beschreibung |
|
||||||
| -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Das Format für das Modul. |
|
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Das Format für das Modul. |
|
||||||
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
||||||
@@ -3507,8 +3555,8 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
| `pyenv_version_name` | `false` | Verwende `pyenv` um die Python-Versionzu beziehen. |
|
| `pyenv_version_name` | `false` | Verwende `pyenv` um die Python-Versionzu beziehen. |
|
||||||
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
||||||
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
||||||
| `detect_extensions` | `['py']` | Which extensions should trigger this module |
|
| `detect_extensions` | `['py', 'ipynb']` | Which extensions should trigger this module |
|
||||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Which filenames should trigger this module |
|
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini', 'pixi.toml']` | Which filenames should trigger this module |
|
||||||
| `detect_folders` | `[]` | Which folders should trigger this module |
|
| `detect_folders` | `[]` | Which folders should trigger this module |
|
||||||
| `disabled` | `false` | Deaktiviert das `python`-Modul. |
|
| `disabled` | `false` | Deaktiviert das `python`-Modul. |
|
||||||
|
|
||||||
@@ -4051,7 +4099,7 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis
|
|||||||
### Optionen
|
### Optionen
|
||||||
|
|
||||||
| Option | Standartwert | Beschreibung |
|
| Option | Standartwert | Beschreibung |
|
||||||
| --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
| `format` | `'[$symbol$status]($style) '` | The format of the module |
|
||||||
| `symbol` | `'❌'` | The symbol displayed on program error |
|
| `symbol` | `'❌'` | The symbol displayed on program error |
|
||||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||||
@@ -4060,18 +4108,20 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis
|
|||||||
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
||||||
| `style` | `'bold red'` | Stil für dieses Modul. |
|
| `style` | `'bold red'` | Stil für dieses Modul. |
|
||||||
|
| `success_style` | | The style used on program success (defaults to `style` if unset). |
|
||||||
|
| `failure_style` | | The style used on program failure (defaults to `style` if unset). |
|
||||||
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
||||||
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
||||||
| `pipestatus` | `false` | Enable pipestatus reporting |
|
| `pipestatus` | `false` | Enable pipestatus reporting |
|
||||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||||
| `disabled` | `true` | Disables the `status` module. |
|
| `disabled` | `true` | Disables the `status` module. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Beispiel | Beschreibung |
|
| Variable | Beispiel | Beschreibung |
|
||||||
| -------------- | -------- | ------------------------------------------------------------------------------------------ |
|
| -------------- | -------- | -------------------------------------------------------------------------------------------- |
|
||||||
| status | `127` | The exit code of the last command |
|
| status | `127` | The exit code of the last command |
|
||||||
| hex_status | `0x7F` | The exit code of the last command in hex |
|
| hex_status | `0x7F` | The exit code of the last command in hex |
|
||||||
| int | `127` | The exit code of the last command |
|
| int | `127` | The exit code of the last command |
|
||||||
@@ -4081,7 +4131,7 @@ Dieses Modul ist standardmäßig deaktiviert. Setze in deiner Konfiguration `dis
|
|||||||
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
||||||
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
||||||
| symbol | | Spiegelt den Wert der Option `symbol` |
|
| symbol | | Spiegelt den Wert der Option `symbol` |
|
||||||
| style\* | | Spiegelt den Wert der Option `style` |
|
| style\* | | Mirrors the value of option `success_style` on program success and `failure_style` otherwise |
|
||||||
|
|
||||||
*: This variable can only be used as a part of a style string
|
*: This variable can only be used as a part of a style string
|
||||||
|
|
||||||
@@ -4351,7 +4401,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
| `format` | `'[$user]($style) in '` | Das Format für das Modul. |
|
| `format` | `'[$user]($style) in '` | Das Format für das Modul. |
|
||||||
| `show_always` | `false` | Immer das `username` Modul anzeigen. |
|
| `show_always` | `false` | Immer das `username` Modul anzeigen. |
|
||||||
| `disabled` | `false` | Deavktiviert das `username` Modul. |
|
| `disabled` | `false` | Deavktiviert das `username` Modul. |
|
||||||
| `aliases` | `{}` | Translate system usernames to something else |
|
| `aliases` | `{}` | Translate system usernames to something else. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -4362,7 +4412,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
|
|
||||||
### Beispiel
|
### Beispiel
|
||||||
|
|
||||||
#### Always show the hostname
|
#### Always show the username
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
@@ -4376,17 +4426,6 @@ show_always = true
|
|||||||
aliases = { "corpuser034g" = "matchai" }
|
aliases = { "corpuser034g" = "matchai" }
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Hide the hostname in remote tmux sessions
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|
||||||
disabled = false
|
|
||||||
```
|
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
|
|
||||||
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met:
|
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). By default the module will be shown if any of the following conditions are met:
|
||||||
@@ -4574,7 +4613,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
| Option | Standartwert | Beschreibung |
|
| Option | Standartwert | Beschreibung |
|
||||||
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
||||||
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. |
|
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the `shell` returns a `0` status code from executing it. |
|
||||||
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
||||||
| `shell` | | [See below](#custom-command-shell) |
|
| `shell` | | [See below](#custom-command-shell) |
|
||||||
| `beschreibung` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
| `beschreibung` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
||||||
@@ -4594,7 +4633,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
| Variable | Beschreibung |
|
| Variable | Beschreibung |
|
||||||
| --------- | -------------------------------------- |
|
| --------- | -------------------------------------- |
|
||||||
| output | The output of shell command in `shell` |
|
| output | The output of `command` run in `shell` |
|
||||||
| symbol | Spiegelt den Wert der Option `symbol` |
|
| symbol | Spiegelt den Wert der Option `symbol` |
|
||||||
| style\* | Spiegelt den Wert der Option `style` |
|
| style\* | Spiegelt den Wert der Option `style` |
|
||||||
|
|
||||||
@@ -4609,7 +4648,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
||||||
|
|
||||||
The `command` will be passed in on stdin.
|
The `command` (and `when`, if applicable) will be passed in on stdin.
|
||||||
|
|
||||||
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
||||||
|
|
||||||
|
|||||||
+14
-11
@@ -338,20 +338,14 @@ eval $(starship init ion)
|
|||||||
<details>
|
<details>
|
||||||
<summary>Nushell</summary>
|
<summary>Nushell</summary>
|
||||||
|
|
||||||
Füge folgendes zum Ende deiner Nushell env Datei hinzu (finde sie, indem du `$nu.env-path` in Nushell ausführst):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
```
|
||||||
|
|
||||||
Und füge Folgendes am Ende deiner Nushell-Konfiguration hinzu (finde sie, indem du folgenden Befehl in Nushell ausführst `$nu.config-path`):
|
Note: Only Nushell v0.96+ is supported
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
Beachte: Nushell wird erst ab v0.78+ unterstützt
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -431,7 +425,16 @@ Schaut euch bitte auch die Projekte an, die die Entstehung von Starship inspirie
|
|||||||
|
|
||||||
Unterstütze dieses Projekt, indem du [ein Sponsor wirst](https://github.com/sponsors/starship). Dein Name und Logo wird hier mit einem Link zu deiner Website erscheinen.
|
Unterstütze dieses Projekt, indem du [ein Sponsor wirst](https://github.com/sponsors/starship). Dein Name und Logo wird hier mit einem Link zu deiner Website erscheinen.
|
||||||
|
|
||||||
- Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org)
|
## 🔒 Code Signing Policy
|
||||||
|
|
||||||
|
Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org).
|
||||||
|
|
||||||
|
Code Signing Roles:
|
||||||
|
|
||||||
|
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
|
||||||
|
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
|
||||||
|
|
||||||
|
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset changes the format of all the built-in modules to show their segment
|
|||||||
starship preset bracketed-segments -o ~/.config/starship.toml
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/bracketed-segments.toml)
|
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/bracketed-segments.toml
|
<<< @/public/presets/toml/bracketed-segments.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ Diese Voreinstellung ist stark inspiriert von [Pastel Powerline](./pastel-powerl
|
|||||||
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/gruvbox-rainbow.toml)
|
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ This is a pseudo minimalist preset inspired by the [geometry](https://github.com
|
|||||||
starship preset jetpack -o ~/.config/starship.toml
|
starship preset jetpack -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/jetpack.toml)
|
[Click to download TOML](/presets/toml/jetpack.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/jetpack.toml
|
<<< @/public/presets/toml/jetpack.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset changes the symbols for each module to use Nerd Font symbols.
|
|||||||
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/nerd-font-symbols.toml)
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/nerd-font-symbols.toml
|
<<< @/public/presets/toml/nerd-font-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ If toolset files are identified the toolset icon is displayed. If the toolset is
|
|||||||
starship preset no-empty-icons -o ~/.config/starship.toml
|
starship preset no-empty-icons -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/no-empty-icons.toml)
|
[Click to download TOML](/presets/toml/no-empty-icons.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-empty-icons.toml
|
<<< @/public/presets/toml/no-empty-icons.toml
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ This preset will become the default preset in a future release of starship.
|
|||||||
starship preset no-nerd-font -o ~/.config/starship.toml
|
starship preset no-nerd-font -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/no-nerd-font.toml)
|
[Click to download TOML](/presets/toml/no-nerd-font.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-nerd-font.toml
|
<<< @/public/presets/toml/no-nerd-font.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset hides the version of language runtimes. If you work in containers or
|
|||||||
starship preset no-runtime-versions -o ~/.config/starship.toml
|
starship preset no-runtime-versions -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/no-runtime-versions.toml)
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-runtime-versions.toml
|
<<< @/public/presets/toml/no-runtime-versions.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [M365Princess](https://github.com/JanDeDobbeleer/oh-m
|
|||||||
starship preset pastel-powerline -o ~/.config/starship.toml
|
starship preset pastel-powerline -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/pastel-powerline.toml)
|
[Click to download TOML](/presets/toml/pastel-powerline.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pastel-powerline.toml
|
<<< @/public/presets/toml/pastel-powerline.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ This preset changes the symbols for each module into plain text. Great if you do
|
|||||||
starship preset plain-text-symbols -o ~/.config/starship.toml
|
starship preset plain-text-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/plain-text-symbols.toml)
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/plain-text-symbols.toml
|
<<< @/public/presets/toml/plain-text-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Diese Voreinstellung emuliert das Aussehen und das Verhalten von [Pure](https://
|
|||||||
starship preset pure-preset -o ~/.config/starship.toml
|
starship preset pure-preset -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/pure-preset.toml)
|
[Click to download TOML](/presets/toml/pure-preset.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pure-preset.toml
|
<<< @/public/presets/toml/pure-preset.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t
|
|||||||
starship preset tokyo-night -o ~/.config/starship.toml
|
starship preset tokyo-night -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Zum Herunterladen der TOML Datei klicken](/presets/toml/tokyo-night.toml)
|
[Click to download TOML](/presets/toml/tokyo-night.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/tokyo-night.toml
|
<<< @/public/presets/toml/tokyo-night.toml
|
||||||
|
|||||||
+4
-10
@@ -166,21 +166,15 @@ onMounted(() => {
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
Esto cambiará en el futuro. Sólo se admite Nushell v0.78+.
|
Esto cambiará en el futuro. Only Nushell v0.96+ is supported.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Añade lo siguiente al final de tu archivo Nushell env (encuéntralo ejecutando `$nu.env-path` en Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
|
||||||
|
|
||||||
Añade lo siguiente al final de tu configuración de Nushell (encuéntrala ejecutando `$nu.config-path`):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ A pesar de que Starship es una prompt versátil, a veces necesitas hacer más qu
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
Las configuraciones de esta sección están sujetas a cambios en futuras versiones de Starship.
|
Las configuraciones de esta sección están sujetos a cambios en futuras versiones de Starship.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
|
|||||||
+82
-43
@@ -553,10 +553,7 @@ discharging_symbol = '💦 '
|
|||||||
|
|
||||||
## Buf
|
## Buf
|
||||||
|
|
||||||
El módulo `buf` muestra la versión instalada de [Buf](https://buf.build). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
El módulo `buf` muestra la versión instalada de [Buf](https://buf.build). By default, the module is shown if the current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||||
|
|
||||||
- La CLI de [`buf`](https://github.com/bufbuild/buf) está instalada.
|
|
||||||
- El directorio actual contiene un archivo de configuración [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), o [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml).
|
|
||||||
|
|
||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
@@ -594,18 +591,19 @@ symbol = '🦬 '
|
|||||||
|
|
||||||
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
||||||
|
|
||||||
|
- El directorio actual contiene un archivo `bun.lock`
|
||||||
- El directorio actual contiene un archivo `bun.lockb`
|
- El directorio actual contiene un archivo `bun.lockb`
|
||||||
- El directorio actual contiene un archivo `bunfig.toml`
|
- El directorio actual contiene un archivo `bunfig.toml`
|
||||||
|
|
||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
| Opción | Predeterminado | Descripción |
|
| Opción | Predeterminado | Descripción |
|
||||||
| ------------------- | ------------------------------------ | --------------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. |
|
| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. |
|
||||||
| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
||||||
| `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. |
|
| `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. |
|
||||||
| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Qué nombres de archivo deberían activar este módulo. |
|
| `detect_files` | `['bun.lock', 'bun.lockb', 'bunfig.toml']` | Qué nombres de archivo deberían activar este módulo. |
|
||||||
| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. |
|
| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. |
|
||||||
| `style` | `'bold red'` | El estilo del módulo. |
|
| `style` | `'bold red'` | El estilo del módulo. |
|
||||||
| `disabled` | `false` | Disables the `bun` module. |
|
| `disabled` | `false` | Disables the `bun` module. |
|
||||||
@@ -635,7 +633,7 @@ format = 'via [🍔 $version](bold green) '
|
|||||||
|
|
||||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[nodejs]
|
[nodejs]
|
||||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||||
```
|
```
|
||||||
@@ -863,7 +861,7 @@ El módulo `conda` muestra el entorno actual [Conda](https://docs.conda.io/en/la
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
Esto no modifica el propio símbolo de sistema de Conda. En caso de querer suprimirlo, ejecuta `conda config --set changeps1 False`.
|
Esto no modifica el propio símbolo de sistema de Conda. En caso de querer suprimirlo, ejecuta `conda config --set changeps1 False`. If you use [pixi](https://pixi.sh), you can disable pixi's prompt modifier by running `pixi config set change-ps1 false`.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -1050,17 +1048,17 @@ format = 'via [🔰 $version](bold red) '
|
|||||||
|
|
||||||
El módulo `deno` le muestra la versión instalada de [Deno](https://deno.land/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
El módulo `deno` le muestra la versión instalada de [Deno](https://deno.land/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
||||||
|
|
||||||
- El directorio actual contiene un archivo `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` o `deps.js`
|
- The current directory contains a `deno.json`, `deno.jsonc`, `deno.lock`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
||||||
|
|
||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
| Opción | Predeterminado | Descripción |
|
| Opción | Predeterminado | Descripción |
|
||||||
| ------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. |
|
| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. |
|
||||||
| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🦕 '` | Una cadena de formato que representa el símbolo de Deno |
|
| `symbol` | `'🦕 '` | Una cadena de formato que representa el símbolo de Deno |
|
||||||
| `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. |
|
| `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. |
|
||||||
| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Qué nombres de archivo deberían activar este módulo. |
|
| `detect_files` | `['deno.json', 'deno.jsonc', 'deno.lock', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Qué nombres de archivo deberían activar este módulo. |
|
||||||
| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. |
|
| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. |
|
||||||
| `style` | `'green bold'` | El estilo del módulo. |
|
| `style` | `'green bold'` | El estilo del módulo. |
|
||||||
| `disabled` | `false` | Deshabilita el módulo `deno`. |
|
| `disabled` | `false` | Deshabilita el módulo `deno`. |
|
||||||
@@ -1117,7 +1115,7 @@ Por ejemplo, dado `~/Dev/Nix/nixpkgs/pkgs` donde `nixpkgs` es la raíz del repos
|
|||||||
| `fish_style_pwd_dir_length` | `0` | El número de caracteres a usar al aplicar la lógica de ruta pwd del intérprete de comandos de Fish. |
|
| `fish_style_pwd_dir_length` | `0` | El número de caracteres a usar al aplicar la lógica de ruta pwd del intérprete de comandos de Fish. |
|
||||||
| `use_logical_path` | `true` | Si `true` renderiza la ruta lógica originada desde el intérprete de comandos a través de `PWD` o `--logical-path`. Si `false` en su lugar renderiza la ruta física del sistema de archivos con enlaces simbólicos resueltos. |
|
| `use_logical_path` | `true` | Si `true` renderiza la ruta lógica originada desde el intérprete de comandos a través de `PWD` o `--logical-path`. Si `false` en su lugar renderiza la ruta física del sistema de archivos con enlaces simbólicos resueltos. |
|
||||||
|
|
||||||
`substitutions` permite definir reemplazos arbitrarios para cadenas literales que ocurren en la ruta, por ejemplo prefijos largos de red o directorios de desarrollo (p. ej. Java). Ten en cuenta que esto desactivará el estilo PWD de fish.
|
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories of Java. Ten en cuenta que esto desactivará el estilo PWD de fish.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
@@ -1178,6 +1176,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
| `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. |
|
| `detect_extensions` | `[]` | Qué extensiones deberían activar este módulo. |
|
||||||
| `detect_files` | `['.envrc']` | Qué nombres de archivo deberían activar este módulo. |
|
| `detect_files` | `['.envrc']` | Qué nombres de archivo deberían activar este módulo. |
|
||||||
| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. |
|
| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. |
|
||||||
|
| `detect_env_vars` | `['DIRENV_FILE']` | Qué variables de entorno deben activar este módulo. |
|
||||||
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
||||||
| `not_allowed_msg` | `'no permitido'` | El mensaje que se muestra cuando un archivo rc no está permitido. |
|
| `not_allowed_msg` | `'no permitido'` | El mensaje que se muestra cuando un archivo rc no está permitido. |
|
||||||
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
||||||
@@ -1188,7 +1187,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
|
|
||||||
| Variable | Ejemplo | Descripción |
|
| Variable | Ejemplo | Descripción |
|
||||||
| --------- | ------------------- | --------------------------------------- |
|
| --------- | ------------------- | --------------------------------------- |
|
||||||
| loaded | `loaded` | Whether the current rc file is loaded. |
|
| cargado | `cargado` | Whether the current rc file is loaded. |
|
||||||
| allowed | `denied` | Whether the current rc file is allowed. |
|
| allowed | `denied` | Whether the current rc file is allowed. |
|
||||||
| rc_path | `/home/test/.envrc` | The current rc file path. |
|
| rc_path | `/home/test/.envrc` | The current rc file path. |
|
||||||
| symbol | | Refleja el valor de la opción `symbol`. |
|
| symbol | | Refleja el valor de la opción `symbol`. |
|
||||||
@@ -1207,7 +1206,7 @@ disabled = false
|
|||||||
|
|
||||||
## Contexto de Docker
|
## Contexto de Docker
|
||||||
|
|
||||||
El módulo `docker_context` muestra el [contexto de Docker](https://docs.docker.com/engine/context/working-with-contexts/) actualmente activo si no está definido en `default` o si las variables de entorno `DOCKER_MACHINE_NAME`, `DOCKER_HOST` o `DOCKER_CONTEXT` están definidas (como se entiende para sobrescribir el contexto en uso).
|
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 `desktop-linux`, or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
||||||
|
|
||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
@@ -1890,7 +1889,7 @@ El módulo Git Status es muy lento en los directorios de Windows (por ejemplo ba
|
|||||||
| `staged` | `'+'` | El formato de `staged` |
|
| `staged` | `'+'` | El formato de `staged` |
|
||||||
| `renamed` | `'»'` | El formato de `renamed` |
|
| `renamed` | `'»'` | El formato de `renamed` |
|
||||||
| `eliminado` | `'✘'` | El formato de `deleted` |
|
| `eliminado` | `'✘'` | El formato de `deleted` |
|
||||||
| `typechanged` | `""` | The format of `typechange` |
|
| `typechanged` | `""` | The format of `typechanged` |
|
||||||
| `style` | `'bold red'` | El estilo del módulo. |
|
| `style` | `'bold red'` | El estilo del módulo. |
|
||||||
| `ignore_submodules` | `false` | Ignorar cambios a los submódulos. |
|
| `ignore_submodules` | `false` | Ignorar cambios a los submódulos. |
|
||||||
| `disabled` | `false` | Deshabilita el módulo `git_status`. |
|
| `disabled` | `false` | Deshabilita el módulo `git_status`. |
|
||||||
@@ -1911,7 +1910,7 @@ Las siguientes variables se pueden utilizar en `format`:
|
|||||||
| `staged` | Muestra `staged` cuando se ha añadido un nuevo archivo al área de preparación. |
|
| `staged` | Muestra `staged` cuando se ha añadido un nuevo archivo al área de preparación. |
|
||||||
| `renamed` | Muestra `renamed` cuando un archivo renombrado ha sido añadido al área de preparación. |
|
| `renamed` | Muestra `renamed` cuando un archivo renombrado ha sido añadido al área de preparación. |
|
||||||
| `eliminado` | Muestra `deleted` cuando un archivo ha sido añadido al área de preparación. |
|
| `eliminado` | Muestra `deleted` cuando un archivo ha sido añadido al área de preparación. |
|
||||||
| `typechanged` | Displays `typechange` when a file's type has been changed in the staging area. |
|
| `typechanged` | Displays `typechanged` when a file's type has been changed in the staging area. |
|
||||||
| style\* | Refleja el valor de la opción `style` |
|
| style\* | Refleja el valor de la opción `style` |
|
||||||
|
|
||||||
*: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo
|
*: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo
|
||||||
@@ -2257,6 +2256,7 @@ El módulo `hostname` muestra el nombre de host del sistema.
|
|||||||
| `format` | `'[$ssh_symbol$hostname]($style) in '` | El formato del módulo. |
|
| `format` | `'[$ssh_symbol$hostname]($style) in '` | El formato del módulo. |
|
||||||
| `style` | `'negrita oscurecida verde'` | El estilo del módulo. |
|
| `style` | `'negrita oscurecida verde'` | El estilo del módulo. |
|
||||||
| `disabled` | `false` | Deshabilita el módulo `hostname`. |
|
| `disabled` | `false` | Deshabilita el módulo `hostname`. |
|
||||||
|
| `aliases` | `{}` | Translate system hostnames to something else. If `trim_at` is specified, only the first part will be matched and replaced. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -2293,6 +2293,14 @@ detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|||||||
disabled = false
|
disabled = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Replace the hostname with a nickname
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
[hostname]
|
||||||
|
aliases = { "Max's MacBook Pro" = "home" }
|
||||||
|
```
|
||||||
|
|
||||||
## Java
|
## Java
|
||||||
|
|
||||||
El módulo `java` muestra la versión instalada de [Java](https://www.oracle.com/java/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
El módulo `java` muestra la versión instalada de [Java](https://www.oracle.com/java/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
||||||
@@ -2809,6 +2817,41 @@ truncation_length = 4
|
|||||||
truncation_symbol = ''
|
truncation_symbol = ''
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Mojo
|
||||||
|
|
||||||
|
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||||
|
|
||||||
|
### Opciones
|
||||||
|
|
||||||
|
| Opción | Predeterminado | Descripción |
|
||||||
|
| ------------------- | ------------------------------------- | ------------------------------------------------------ |
|
||||||
|
| `format` | `'with [$symbol($version )]($style)'` | El formato del módulo. |
|
||||||
|
| `symbol` | `'🔥 '` | The symbol used before displaying the version of Mojo. |
|
||||||
|
| `style` | `'bold 208'` | El estilo del módulo. |
|
||||||
|
| `disabled` | `false` | Disables the `mojo` module. |
|
||||||
|
| `detect_extensions` | `['mojo', '🔥']` | Qué extensiones deberían activar este módulo. |
|
||||||
|
| `detect_files` | `[]` | Qué nombres de archivo deberían activar este módulo. |
|
||||||
|
| `detect_folders` | `[]` | Qué carpetas deberían activar este módulo. |
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
|
||||||
|
| Variable | Ejemplo | Descripción |
|
||||||
|
| --------- | -------- | -------------------------------------- |
|
||||||
|
| version | `24.4.0` | The version of `mojo` |
|
||||||
|
| symbol | | Refleja el valor de la opción `symbol` |
|
||||||
|
| style\* | | Refleja el valor de la opción `style` |
|
||||||
|
|
||||||
|
*: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo
|
||||||
|
|
||||||
|
### Ejemplo
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[mojo]
|
||||||
|
format = 'via [mojo ($version )($hash )]($style)'
|
||||||
|
```
|
||||||
|
|
||||||
## NATS
|
## NATS
|
||||||
|
|
||||||
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
||||||
@@ -2935,12 +2978,12 @@ El módulo `nodejs` muestra la versión instalada de [Node.js](https://nodejs.or
|
|||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
| Opción | Predeterminado | Descripción |
|
| Opción | Predeterminado | Descripción |
|
||||||
| ------------------- | ------------------------------------------ | --------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | --------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. |
|
| `format` | `'via [$symbol($version )]($style)'` | El formato del módulo. |
|
||||||
| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `' '` | Una cadena de formato que representa el símbolo de Node.js. |
|
| `symbol` | `' '` | Una cadena de formato que representa el símbolo de Node.js. |
|
||||||
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Qué extensiones deberían activar este módulo. |
|
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Qué extensiones deberían activar este módulo. |
|
||||||
| `detect_files` | `['package.json', '.node-version']` | Qué nombres de archivo deberían activar este módulo. |
|
| `detect_files` | `['package.json', '.node-version', '.nvmrc']` | Qué nombres de archivo deberían activar este módulo. |
|
||||||
| `detect_folders` | `['node_modules']` | Qué carpetas deberían activar este módulo. |
|
| `detect_folders` | `['node_modules']` | Qué carpetas deberían activar este módulo. |
|
||||||
| `style` | `'bold green'` | El estilo del módulo. |
|
| `style` | `'bold green'` | El estilo del módulo. |
|
||||||
| `disabled` | `false` | Deshabilita el módulo `nodejs`. |
|
| `disabled` | `false` | Deshabilita el módulo `nodejs`. |
|
||||||
@@ -3015,7 +3058,7 @@ format = 'via [🐪 $version]($style) '
|
|||||||
|
|
||||||
## Odin
|
## Odin
|
||||||
|
|
||||||
The 'odin' module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
The `odin` module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
||||||
|
|
||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
@@ -3159,6 +3202,7 @@ Amazon = "🙂 "
|
|||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
Artix = "🎗️ "
|
Artix = "🎗️ "
|
||||||
|
CachyOS = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@@ -3180,6 +3224,7 @@ MidnightBSD = "🌘 "
|
|||||||
Mint = "🌿 "
|
Mint = "🌿 "
|
||||||
NetBSD = "🚩 "
|
NetBSD = "🚩 "
|
||||||
NixOS = "❄️ "
|
NixOS = "❄️ "
|
||||||
|
Nobara = "🎩 "
|
||||||
OpenBSD = "🐡 "
|
OpenBSD = "🐡 "
|
||||||
OpenCloudOS = "☁️ "
|
OpenCloudOS = "☁️ "
|
||||||
openEuler = "🦉 "
|
openEuler = "🦉 "
|
||||||
@@ -3196,6 +3241,7 @@ SUSE = "🦎 "
|
|||||||
Ubuntu = "🎯 "
|
Ubuntu = "🎯 "
|
||||||
Ultramarine = "🔷 "
|
Ultramarine = "🔷 "
|
||||||
Unknown = "❓ "
|
Unknown = "❓ "
|
||||||
|
Uos = "🐲 "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = "🪟 "
|
Windows = "🪟 "
|
||||||
```
|
```
|
||||||
@@ -3492,13 +3538,15 @@ Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes
|
|||||||
- El directorio actual contiene un archivo `requirements.txt`
|
- El directorio actual contiene un archivo `requirements.txt`
|
||||||
- El directorio actual contiene un archivo `setup.py`
|
- El directorio actual contiene un archivo `setup.py`
|
||||||
- El directorio actual contiene un archivo `tox.ini`
|
- El directorio actual contiene un archivo `tox.ini`
|
||||||
|
- El directorio actual contiene un archivo `pixi.toml`
|
||||||
- El directorio actual contiene un archivo con la extensión `.py`.
|
- El directorio actual contiene un archivo con la extensión `.py`.
|
||||||
|
- The current directory contains a file with the `.ipynb` extension.
|
||||||
- Un entorno virtual está activado actualmente
|
- Un entorno virtual está activado actualmente
|
||||||
|
|
||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
| Opción | Predeterminado | Descripción |
|
| Opción | Predeterminado | Descripción |
|
||||||
| -------------------- | ------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------- |
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | El formato del módulo. |
|
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | El formato del módulo. |
|
||||||
| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | El formato de versión. Las variables disponibles son `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🐍 '` | Una cadena de formato que representa el símbolo de Python |
|
| `symbol` | `'🐍 '` | Una cadena de formato que representa el símbolo de Python |
|
||||||
@@ -3506,8 +3554,8 @@ Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes
|
|||||||
| `pyenv_version_name` | `false` | Usar pyenv para obtener la versión de Python |
|
| `pyenv_version_name` | `false` | Usar pyenv para obtener la versión de Python |
|
||||||
| `pyenv_prefix` | `'pyenv'` | Prefijo antes de mostrar la versión de pyenv sólo se utiliza si se utiliza pyenv |
|
| `pyenv_prefix` | `'pyenv'` | Prefijo antes de mostrar la versión de pyenv sólo se utiliza si se utiliza pyenv |
|
||||||
| `python_binary` | `['python', 'python3', 'python2']` | Configura los binarios de python que Starship debería ejecutar al obtener la versión. |
|
| `python_binary` | `['python', 'python3', 'python2']` | Configura los binarios de python que Starship debería ejecutar al obtener la versión. |
|
||||||
| `detect_extensions` | `['py']` | Qué extensiones deben activar este módulo |
|
| `detect_extensions` | `['py', 'ipynb']` | Qué extensiones deben activar este módulo |
|
||||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Qué nombres de archivo deben activar este módulo |
|
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini', 'pixi.toml']` | Qué nombres de archivo deben activar este módulo |
|
||||||
| `detect_folders` | `[]` | Qué carpetas deben activar este módulo |
|
| `detect_folders` | `[]` | Qué carpetas deben activar este módulo |
|
||||||
| `disabled` | `false` | Deshabilita el módulo `python`. |
|
| `disabled` | `false` | Deshabilita el módulo `python`. |
|
||||||
|
|
||||||
@@ -4050,7 +4098,7 @@ Este módulo está deshabilitado por defecto. Para activarlo, establece `disable
|
|||||||
### Opciones
|
### Opciones
|
||||||
|
|
||||||
| Opción | Predeterminado | Descripción |
|
| Opción | Predeterminado | Descripción |
|
||||||
| --------------------------- | ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
|
| --------------------------- | ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$status]($style) '` | El formato del módulo |
|
| `format` | `'[$symbol$status]($style) '` | El formato del módulo |
|
||||||
| `symbol` | `'❌'` | El símbolo mostrado en el error del programa |
|
| `symbol` | `'❌'` | El símbolo mostrado en el error del programa |
|
||||||
| `success_symbol` | `''` | El símbolo mostrado en el éxito del programa |
|
| `success_symbol` | `''` | El símbolo mostrado en el éxito del programa |
|
||||||
@@ -4059,18 +4107,20 @@ Este módulo está deshabilitado por defecto. Para activarlo, establece `disable
|
|||||||
| `sigint_symbol` | `'🧱'` | El símbolo mostrado en SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | El símbolo mostrado en SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | El símbolo mostrado en cualquier señal |
|
| `signal_symbol` | `'⚡'` | El símbolo mostrado en cualquier señal |
|
||||||
| `style` | `'bold red'` | El estilo del módulo. |
|
| `style` | `'bold red'` | El estilo del módulo. |
|
||||||
|
| `success_style` | | El estilo utilizado en el éxito del programa (por defecto `style` si se desconfigura). |
|
||||||
|
| `failure_style` | | El estilo utilizado en el fallo del programa (por defecto `style` si se desconfigura). |
|
||||||
| `recognize_signal_code` | `true` | Habilita el mapeo de señales desde el código de salida |
|
| `recognize_signal_code` | `true` | Habilita el mapeo de señales desde el código de salida |
|
||||||
| `map_symbol` | `false` | Habilita el mapeo de símbolos desde el código de salida |
|
| `map_symbol` | `false` | Habilita el mapeo de símbolos desde el código de salida |
|
||||||
| `pipestatus` | `false` | Habilita el reporte de pipstatus |
|
| `pipestatus` | `false` | Habilita el reporte de pipstatus |
|
||||||
| `pipestatus_separator` | <code>|</code> | El símbolo usado para separar segmentos de pipestatus (soporta formato) |
|
| `pipestatus_separator` | <code>|</code> | El símbolo usado para separar segmentos de pipestatus (soporta formato) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | El formato del módulo cuando el comando es un pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | El formato del módulo cuando el comando es un pipeline |
|
||||||
| `pipestatus_segment_format` | | Cuando se especifica, reemplaza `formato` al formatear segmentos de pipestatus |
|
| `pipestatus_segment_format` | | Cuando se especifica, reemplaza `formato` al formatear segmentos de pipestatus |
|
||||||
| `disabled` | `true` | Deshabilita el módulo `status`. |
|
| `disabled` | `true` | Deshabilita el módulo `status`. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Ejemplo | Descripción |
|
| Variable | Ejemplo | Descripción |
|
||||||
| -------------- | ------- | ------------------------------------------------------------------------------------------ |
|
| -------------- | ------- | ------------------------------------------------------------------------------------------------------ |
|
||||||
| estado | `127` | El código de salida del último comando |
|
| estado | `127` | El código de salida del último comando |
|
||||||
| hex_status | `0x7F` | El código de salida del último comando en hexadecimal |
|
| hex_status | `0x7F` | El código de salida del último comando en hexadecimal |
|
||||||
| int | `127` | El código de salida del último comando |
|
| int | `127` | El código de salida del último comando |
|
||||||
@@ -4080,7 +4130,7 @@ Este módulo está deshabilitado por defecto. Para activarlo, establece `disable
|
|||||||
| maybe_int | `7` | Contiene el número de código de salida cuando no se ha encontrado ningún significado |
|
| maybe_int | `7` | Contiene el número de código de salida cuando no se ha encontrado ningún significado |
|
||||||
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
||||||
| symbol | | Refleja el valor de la opción `symbol` |
|
| symbol | | Refleja el valor de la opción `symbol` |
|
||||||
| style\* | | Refleja el valor de la opción `style` |
|
| style\* | | Copia el valor de la opción `success_style` en el éxito del programa y `failure_style` de lo contrario |
|
||||||
|
|
||||||
*: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo
|
*: Esta variable solamente puede ser usada como parte de una cadena de caracteres de estilo
|
||||||
|
|
||||||
@@ -4350,7 +4400,7 @@ La conexión SSH se detecta comprobando las variables de entorno `SSH_CONNECTION
|
|||||||
| `format` | `'[$user]($style) in '` | El formato del módulo. |
|
| `format` | `'[$user]($style) in '` | El formato del módulo. |
|
||||||
| `show_always` | `false` | Siempre muestra el módulo `username`. |
|
| `show_always` | `false` | Siempre muestra el módulo `username`. |
|
||||||
| `disabled` | `false` | Deshabilita el módulo `username`. |
|
| `disabled` | `false` | Deshabilita el módulo `username`. |
|
||||||
| `aliases` | `{}` | Translate system usernames to something else |
|
| `aliases` | `{}` | Translate system usernames to something else. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -4361,7 +4411,7 @@ La conexión SSH se detecta comprobando las variables de entorno `SSH_CONNECTION
|
|||||||
|
|
||||||
### Ejemplo
|
### Ejemplo
|
||||||
|
|
||||||
#### Mostrar siempre el nombre del host
|
#### Always show the username
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
@@ -4375,17 +4425,6 @@ show_always = true
|
|||||||
aliases = { "corpuser034g" = "matchai" }
|
aliases = { "corpuser034g" = "matchai" }
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Ocultar el nombre de host en sesiones remotas de tmux
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|
||||||
disabled = false
|
|
||||||
```
|
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
|
|
||||||
El módulo `vagrant` muestra la versión instalada de [Vagrant](https://www.vagrantup.com/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
El módulo `vagrant` muestra la versión instalada de [Vagrant](https://www.vagrantup.com/). Por defecto, el módulo se mostrará si se cumplen cualquiera de las siguientes condiciones:
|
||||||
@@ -4573,7 +4612,7 @@ Las cadenas de formato también pueden contener secuencias específicas del int
|
|||||||
| Opción | Predeterminado | Descripción |
|
| Opción | Predeterminado | Descripción |
|
||||||
| ------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `comando` | `''` | El comando cuya salida debe ser impresa. El comando se pasará en stdin al intérprete de comandos. |
|
| `comando` | `''` | El comando cuya salida debe ser impresa. El comando se pasará en stdin al intérprete de comandos. |
|
||||||
| `cuando` | `false` | Valor booleano (`true` o `false`, sin comillas) o un comando de shell usado como una condición para mostrar el módulo. En caso de una cadena, el módulo se mostrará si el comando devuelve un código de estado `0`. |
|
| `cuando` | `false` | Valor booleano (`true` o `false`, sin comillas) o un comando de shell usado como una condición para mostrar el módulo. In case of a string, the module will be shown if the `shell` returns a `0` status code from executing it. |
|
||||||
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
||||||
| `shell` | | [Ver a continuación](#custom-command-shell) |
|
| `shell` | | [Ver a continuación](#custom-command-shell) |
|
||||||
| `description` | `'<módulo personalizado>'` | La descripción del módulo que se muestra al ejecutar `starship explain`. |
|
| `description` | `'<módulo personalizado>'` | La descripción del módulo que se muestra al ejecutar `starship explain`. |
|
||||||
@@ -4592,8 +4631,8 @@ Las cadenas de formato también pueden contener secuencias específicas del int
|
|||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Descripción |
|
| Variable | Descripción |
|
||||||
| --------- | ----------------------------------------------------------- |
|
| --------- | -------------------------------------- |
|
||||||
| salida | La salida del comando del intérprete de comandos en `shell` |
|
| salida | The output of `command` run in `shell` |
|
||||||
| symbol | Refleja el valor de la opción `symbol` |
|
| symbol | Refleja el valor de la opción `symbol` |
|
||||||
| style\* | Refleja el valor de la opción `style` |
|
| style\* | Refleja el valor de la opción `style` |
|
||||||
|
|
||||||
@@ -4608,7 +4647,7 @@ Las cadenas de formato también pueden contener secuencias específicas del int
|
|||||||
|
|
||||||
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
||||||
|
|
||||||
El `comando` será pasado en stdin.
|
The `command` (and `when`, if applicable) will be passed in on stdin.
|
||||||
|
|
||||||
Si no se da el `shell` o solo contiene un elemento y Starship detecta PowerShell los siguientes argumentos se añadirán automáticamente: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. Este comportamiento puede evitarse pasando explícitamente argumentos al intérprete de comandos, p.ej.
|
Si no se da el `shell` o solo contiene un elemento y Starship detecta PowerShell los siguientes argumentos se añadirán automáticamente: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. Este comportamiento puede evitarse pasando explícitamente argumentos al intérprete de comandos, p.ej.
|
||||||
|
|
||||||
|
|||||||
+14
-11
@@ -338,20 +338,14 @@ eval $(starship init ion)
|
|||||||
<details>
|
<details>
|
||||||
<summary>Nushell</summary>
|
<summary>Nushell</summary>
|
||||||
|
|
||||||
Añade lo siguiente al final de tu archivo Nushell env (encuéntralo ejecutando `$nu.env-path` en Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
```
|
||||||
|
|
||||||
Añade lo siguiente al final de tu configuración de Nushell (encuéntrala ejecutando `$nu.config-path`):
|
Note: Only Nushell v0.96+ is supported
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
Nota: Sólo se admite Nushell v0.78+
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -431,7 +425,16 @@ Por favor, revisa estas obras anteriores que ayudaron a inspirar la creación de
|
|||||||
|
|
||||||
Apoya este proyecto [convirtiéndote en patrocinador](https://github.com/sponsors/starship). Tu nombre o logo aparecerá aquí con un enlace a tu sitio web.
|
Apoya este proyecto [convirtiéndote en patrocinador](https://github.com/sponsors/starship). Tu nombre o logo aparecerá aquí con un enlace a tu sitio web.
|
||||||
|
|
||||||
- Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org)
|
## 🔒 Code Signing Policy
|
||||||
|
|
||||||
|
Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org).
|
||||||
|
|
||||||
|
Code Signing Roles:
|
||||||
|
|
||||||
|
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
|
||||||
|
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
|
||||||
|
|
||||||
|
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Este preajuste cambia el formato de todos los módulos incorporados para mostrar
|
|||||||
starship preset bracketed-segments -o ~/.config/starship.toml
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/bracketed-segments.toml)
|
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/bracketed-segments.toml
|
<<< @/public/presets/toml/bracketed-segments.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ Este preajuste está muy inspirado en [Pastel Powerline](./pastel-powerline.md)
|
|||||||
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/gruvbox-rainbow.toml)
|
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ Este es un preajuste pseudominimalista inspirado en las indicaciones [geometría
|
|||||||
starship preset jetpack -o ~/.config/starship.toml
|
starship preset jetpack -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/jetpack.toml)
|
[Click to download TOML](/presets/toml/jetpack.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/jetpack.toml
|
<<< @/public/presets/toml/jetpack.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ Este preajuste cambia los símbolos de cada módulo para usar símbolos Nerd Fon
|
|||||||
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/nerd-font-symbols.toml)
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/nerd-font-symbols.toml
|
<<< @/public/presets/toml/nerd-font-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Si se identifican archivos del conjunto de herramientas, entonces se mostrara el
|
|||||||
starship preset no-empty-icons -o ~/.config/starship.toml
|
starship preset no-empty-icons -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/no-empty-icons.toml)
|
[Click to download TOML](/presets/toml/no-empty-icons.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-empty-icons.toml
|
<<< @/public/presets/toml/no-empty-icons.toml
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ Este preset será el predeterminado en una futura versión de starship.
|
|||||||
starship preset no-nerd-font -o ~/.config/starship.toml
|
starship preset no-nerd-font -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/no-nerd-font.toml)
|
[Click to download TOML](/presets/toml/no-nerd-font.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-nerd-font.toml
|
<<< @/public/presets/toml/no-nerd-font.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Este preajuste oculta la versión de los tiempos de ejecución del idioma. Si tr
|
|||||||
starship preset no-runtime-versions -o ~/.config/starship.toml
|
starship preset no-runtime-versions -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/no-runtime-versions.toml)
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-runtime-versions.toml
|
<<< @/public/presets/toml/no-runtime-versions.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ Este preajuste está inspirado en [M365Princess](https://github.com/JanDeDobbele
|
|||||||
starship preset pastel-powerline -o ~/.config/starship.toml
|
starship preset pastel-powerline -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/pastel-powerline.toml)
|
[Click to download TOML](/presets/toml/pastel-powerline.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pastel-powerline.toml
|
<<< @/public/presets/toml/pastel-powerline.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Este preajuste cambia los símbolos a texto sin formato. Bueno si usted no tiene
|
|||||||
starship preset plain-text-symbols -o ~/.config/starship.toml
|
starship preset plain-text-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/plain-text-symbols.toml)
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/plain-text-symbols.toml
|
<<< @/public/presets/toml/plain-text-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Esta preajuste emula la apariencia y el comportamiento de [Pure](https://github.
|
|||||||
starship preset pure-preset -o ~/.config/starship.toml
|
starship preset pure-preset -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/pure-preset.toml)
|
[Click to download TOML](/presets/toml/pure-preset.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pure-preset.toml
|
<<< @/public/presets/toml/pure-preset.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ Este preset está inspirado en [tokyo-night-vscode-theme](https://github.com/enk
|
|||||||
starship preset tokyo-night -o ~/.config/starship.toml
|
starship preset tokyo-night -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Clic para descargar TOML](/presets/toml/tokyo-night.toml)
|
[Click to download TOML](/presets/toml/tokyo-night.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/tokyo-night.toml
|
<<< @/public/presets/toml/tokyo-night.toml
|
||||||
|
|||||||
+4
-10
@@ -166,21 +166,15 @@ onMounted(() => {
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
Ceci va changer dans le futur. Seul Nushell v0.78+ est supporté.
|
Ceci va changer dans le futur. Only Nushell v0.96+ is supported.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
|
||||||
|
|
||||||
Ajoutez le code suivant à la fin de votre configuration Nushell (trouvez-la en exécutant `$nu.config path`):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+178
-139
@@ -553,19 +553,16 @@ discharging_symbol = '💦 '
|
|||||||
|
|
||||||
## Buf
|
## Buf
|
||||||
|
|
||||||
Le module `buf` affiche la version de [Buf](https://buf.build) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
Le module `buf` affiche la version de [Buf](https://buf.build) installée. By default, the module is shown if the current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||||
|
|
||||||
- La commande [`buf`](https://github.com/bufbuild/buf) est installée.
|
|
||||||
- Le dossier actuel contient un fichier de configuration [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml) ou [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml).
|
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ----------------------------------------------- | ------------------------------------------------------ |
|
| ------------------- | ----------------------------------------------- | ------------------------------------------------------ |
|
||||||
| `format` | `'with [$symbol($version )]($style)'` | Le format du module `buf`. |
|
| `format` | `'with [$symbol($version )]($style)'` | Le format du module `buf`. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. |
|
| `version_format` | `'v${raw}'` | Le format de la version. |
|
||||||
| `symbole` | `'🐃 '` | Le symbole utilisé avant d’afficher la version de Buf. |
|
| `symbole` | `'🐃 '` | Le symbole utilisé avant d’afficher la version de Buf. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['buf.yaml', 'buf.gen.yaml', 'buf.work.yaml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['buf.yaml', 'buf.gen.yaml', 'buf.work.yaml']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `style` | `'bold blue'` | Le style pour le module. |
|
| `style` | `'bold blue'` | Le style pour le module. |
|
||||||
@@ -594,18 +591,19 @@ symbol = '🦬 '
|
|||||||
|
|
||||||
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
||||||
|
|
||||||
|
- Le dossier courant contient un fichier `bun.lock`
|
||||||
- Le dossier courant contient un fichier `bun.lockb`
|
- Le dossier courant contient un fichier `bun.lockb`
|
||||||
- Le dossier courant contient un fichier `bunfig.toml`
|
- Le dossier courant contient un fichier `bunfig.toml`
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🥟 '` | A format string representing the symbol of Bun. |
|
| `symbole` | `'🥟 '` | A format string representing the symbol of Bun. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['bun.lockb', 'bunfig.toml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['bun.lock', 'bun.lockb', 'bunfig.toml']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold red'` | Le style pour le module. |
|
| `style` | `'bold red'` | Le style pour le module. |
|
||||||
| `disabled` | `false` | Disables the `bun` module. |
|
| `disabled` | `false` | Disables the `bun` module. |
|
||||||
@@ -635,7 +633,7 @@ format = 'via [🍔 $version](bold green) '
|
|||||||
|
|
||||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[nodejs]
|
[nodejs]
|
||||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||||
```
|
```
|
||||||
@@ -647,11 +645,11 @@ Le module `c` affiche des informations à propos de votre compilateur C. Par dé
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ----------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version(-$name) )]($style)'` | La chaîne de format pour le module. |
|
| `format` | `'via [$symbol($version(-$name) )]($style)'` | La chaîne de format pour le module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'C '` | Le symbole utilisé avant d’afficher les détails du compilateur |
|
| `symbole` | `'C '` | Le symbole utilisé avant d’afficher les détails du compilateur |
|
||||||
| `detect_extensionsdetect_extensions` | `['c', 'h']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['c', 'h']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `commands` | `[ [ 'cc', '--version' ], [ 'gcc', '--version' ], [ 'clang', '--version' ] ]` | Comment détecter quel est le compilateur |
|
| `commands` | `[ [ 'cc', '--version' ], [ 'gcc', '--version' ], [ 'clang', '--version' ] ]` | Comment détecter quel est le compilateur |
|
||||||
@@ -763,11 +761,11 @@ Le module `cmake` affiche la version de [CMake](https://cmake.org/) installée.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | -------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'△ '` | Le symbole utilisé avant la version de cmake. |
|
| `symbole` | `'△ '` | Le symbole utilisé avant la version de cmake. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module |
|
||||||
| `detect_files` | `['CMakeLists.txt', 'CMakeCache.txt']` | Quels fichiers devraient activer ce module |
|
| `detect_files` | `['CMakeLists.txt', 'CMakeCache.txt']` | Quels fichiers devraient activer ce module |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module |
|
||||||
| `style` | `'bold blue'` | Le style pour le module. |
|
| `style` | `'bold blue'` | Le style pour le module. |
|
||||||
@@ -793,12 +791,12 @@ Le module `cobol` affiche la version de COBOL installée. Par défaut, le module
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `symbole` | `'⚙️ '` | Le symbole utilisé avant d’afficher la version de COBOL. |
|
| `symbole` | `'⚙️ '` | Le symbole utilisé avant d’afficher la version de COBOL. |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `style` | `'bold blue'` | Le style pour le module. |
|
| `style` | `'bold blue'` | Le style pour le module. |
|
||||||
| `detect_extensionsdetect_extensions` | `['cbl', 'cob', 'CBL', 'COB']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['cbl', 'cob', 'CBL', 'COB']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `disabled` | `false` | Désactive le module `cobol`. |
|
| `disabled` | `false` | Désactive le module `cobol`. |
|
||||||
@@ -863,7 +861,7 @@ Le module `conda` affiche l’environnement [Conda](https://docs.conda.io/en/lat
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
Cela ne supprime pas le modificateur d'invite de conda, vous pourriez vouloir exécuter `conda config --set changeps1 False` pour le désactiver.
|
Cela ne supprime pas le modificateur d'invite de conda, vous pourriez vouloir exécuter `conda config --set changeps1 False` pour le désactiver. If you use [pixi](https://pixi.sh), you can disable pixi's prompt modifier by running `pixi config set change-ps1 false`.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -939,12 +937,12 @@ Le module `crystal` affiche la version de [Crystal](https://crystal-lang.org/) i
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `symbole` | `'🔮 '` | Le symbole utilisé avant d'afficher la version de crystal. |
|
| `symbole` | `'🔮 '` | Le symbole utilisé avant d'afficher la version de crystal. |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `style` | `'bold red'` | Le style pour le module. |
|
| `style` | `'bold red'` | Le style pour le module. |
|
||||||
| `detect_extensionsdetect_extensions` | `['cr']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['cr']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['shard.yml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['shard.yml']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `disabled` | `false` | Désactive le module `crystal`. |
|
| `disabled` | `false` | Désactive le module `crystal`. |
|
||||||
@@ -977,12 +975,12 @@ The `daml` module shows the currently used [Daml](https://www.digitalasset.com/d
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'Λ '` | A format string representing the symbol of Daml |
|
| `symbole` | `'Λ '` | A format string representing the symbol of Daml |
|
||||||
| `style` | `'bold cyan'` | Le style pour le module. |
|
| `style` | `'bold cyan'` | Le style pour le module. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['daml.yaml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['daml.yaml']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `disabled` | `false` | Disables the `daml` module. |
|
| `disabled` | `false` | Disables the `daml` module. |
|
||||||
@@ -1017,11 +1015,11 @@ Le module `dart` affiche la version de [Dart](https://dart.dev/) installée. Par
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🎯 '` | Une chaîne de caractères représentant le symbole de Dart |
|
| `symbole` | `'🎯 '` | Une chaîne de caractères représentant le symbole de Dart |
|
||||||
| `detect_extensionsdetect_extensions` | `['dart']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['dart']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['pubspec.yaml', 'pubspec.yml', 'pubspec.lock']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['pubspec.yaml', 'pubspec.yml', 'pubspec.lock']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['.dart_tool']` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `['.dart_tool']` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold blue'` | Le style pour le module. |
|
| `style` | `'bold blue'` | Le style pour le module. |
|
||||||
@@ -1050,17 +1048,17 @@ format = 'via [🔰 $version](bold red) '
|
|||||||
|
|
||||||
Le module `deno` affiche la version de [Deno](https://deno.land/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
Le module `deno` affiche la version de [Deno](https://deno.land/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
||||||
|
|
||||||
- Le dossier courant contient un fichier `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` ou `deps.js`
|
- The current directory contains a `deno.json`, `deno.jsonc`, `deno.lock`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ----------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🦕 '` | Une chaîne de caractères représentant le symbole de Deno |
|
| `symbole` | `'🦕 '` | Une chaîne de caractères représentant le symbole de Deno |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['deno.json', 'deno.jsonc', 'deno.lock', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'green bold'` | Le style pour le module. |
|
| `style` | `'green bold'` | Le style pour le module. |
|
||||||
| `disabled` | `false` | Désactive le module `deno`. |
|
| `disabled` | `false` | Désactive le module `deno`. |
|
||||||
@@ -1117,7 +1115,7 @@ Par exemple, `~/Dev/Nix/nixpkgs/pkgs` où `nixpkgs` est la racine du repo, et l'
|
|||||||
| `fish_style_pwd_dir_length` | `0` | Le nombre de caractères à utiliser lors de l'application de la logique de troncature du pwd de fish. |
|
| `fish_style_pwd_dir_length` | `0` | Le nombre de caractères à utiliser lors de l'application de la logique de troncature du pwd de fish. |
|
||||||
| `use_logical_path` | `true` | Si `true` affiche le chemin logique issu du shell via `PWD` ou `--logical-path`. Si `false` renvoie plutôt le chemin du système de fichiers physique avec les liens symboliques résolus. |
|
| `use_logical_path` | `true` | Si `true` affiche le chemin logique issu du shell via `PWD` ou `--logical-path`. Si `false` renvoie plutôt le chemin du système de fichiers physique avec les liens symboliques résolus. |
|
||||||
|
|
||||||
`substitutions` vous permet de définir des remplacements arbitraires pour les chaînes littérales qui apparaissent dans le chemin, par exemple pour de longs préfixes de réseau ou des répertoires de développement (ex. Java). Notez que cela désactivera la PWD de style fish.
|
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories of Java. Notez que cela désactivera la PWD de style fish.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
@@ -1170,14 +1168,15 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | -------------------------------------- | ----------------------------------------------------- |
|
| ------------------- | -------------------------------------- | ----------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$loaded/$allowed]($style) '` | Format du module. |
|
| `format` | `'[$symbol$loaded/$allowed]($style) '` | Format du module. |
|
||||||
| `symbole` | `'direnv '` | The symbol used before displaying the direnv context. |
|
| `symbole` | `'direnv '` | The symbol used before displaying the direnv context. |
|
||||||
| `style` | `'bold orange'` | Le style pour le module. |
|
| `style` | `'bold orange'` | Le style pour le module. |
|
||||||
| `disabled` | `true` | Disables the `direnv` module. |
|
| `disabled` | `true` | Disables the `direnv` module. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['.envrc']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['.envrc']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
|
| `detect_env_vars` | `['DIRENV_FILE']` | Les variables d’environnement qui activent ce module. |
|
||||||
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
||||||
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
||||||
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
||||||
@@ -1207,16 +1206,16 @@ disabled = false
|
|||||||
|
|
||||||
## Contexte Docker
|
## Contexte Docker
|
||||||
|
|
||||||
Le module `docker_context` affiche le [context Docker](https://docs.docker.com/engine/context/working-with-contexts/) actif, si sa valeur est différente de `default` ou si les variables d’environnement `DOCKER_MACHINE_NAME`, `DOCKER_HOST` ou `DOCKER_CONTEXT` sont définies (puisqu’elles sont utilisées pour changer le contexte utilisé).
|
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 `desktop-linux`, or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol$context]($style) '` | Format du module. |
|
| `format` | `'via [$symbol$context]($style) '` | Format du module. |
|
||||||
| `symbole` | `'🐳 '` | Le symbole utilisé avant d'afficher le contexte Docker. |
|
| `symbole` | `'🐳 '` | Le symbole utilisé avant d'afficher le contexte Docker. |
|
||||||
| `only_with_files` | `true` | Afficher uniquement quand il y a une correspondance |
|
| `only_with_files` | `true` | Afficher uniquement quand il y a une correspondance |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Quelles extensions devraient activer ce module (il faut que `only_with_files` soit réglé sur true). |
|
| `detect_extensions` | `[]` | Quelles extensions devraient activer ce module (il faut que `only_with_files` soit réglé sur true). |
|
||||||
| `detect_files` | `['docker-compose.yml', 'docker-compose.yaml', 'Dockerfile']` | Quels noms de fichier devraient activer ce module (il faut que `only_with_files` soit réglé sur true). |
|
| `detect_files` | `['docker-compose.yml', 'docker-compose.yaml', 'Dockerfile']` | Quels noms de fichier devraient activer ce module (il faut que `only_with_files` soit réglé sur true). |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module (il faut que `only_with_files` soit réglé sur true). |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module (il faut que `only_with_files` soit réglé sur true). |
|
||||||
| `style` | `'blue bold'` | Le style pour le module. |
|
| `style` | `'blue bold'` | Le style pour le module. |
|
||||||
@@ -1265,12 +1264,12 @@ Le module affichera aussi le Moniker de Framework Cible (<https://docs.microsoft
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )(🎯 $tfm )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )(🎯 $tfm )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'.NET '` | Le symbole utilisé avant d'afficher la version de dotnet. |
|
| `symbole` | `'.NET '` | Le symbole utilisé avant d'afficher la version de dotnet. |
|
||||||
| `heuristic` | `true` | Utilisez la détection de versions plus rapide pour garder starship instantané. |
|
| `heuristic` | `true` | Utilisez la détection de versions plus rapide pour garder starship instantané. |
|
||||||
| `detect_extensionsdetect_extensions` | `['csproj', 'fsproj', 'xproj']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['csproj', 'fsproj', 'xproj']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['global.json', 'project.json', 'Directory.Build.props', 'Directory.Build.targets', 'Packages.props']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['global.json', 'project.json', 'Directory.Build.props', 'Directory.Build.targets', 'Packages.props']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `style` | `'bold blue'` | Le style pour le module. |
|
| `style` | `'bold blue'` | Le style pour le module. |
|
||||||
@@ -1307,11 +1306,11 @@ Le module `elixir` affiche la version de [Elixir](https://elixir-lang.org/) et [
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | Format du module elixir. |
|
| `format` | `'via [$symbol($version \(OTP $otp_version\) )]($style)'` | Format du module elixir. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'💧 '` | Le symbole utilisé avant d'afficher la version d'Elixir/Erlang. |
|
| `symbole` | `'💧 '` | Le symbole utilisé avant d'afficher la version d'Elixir/Erlang. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['mix.exs']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['mix.exs']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `style` | `'bold purple'` | Le style pour le module. |
|
| `style` | `'bold purple'` | Le style pour le module. |
|
||||||
@@ -1350,11 +1349,11 @@ Le module `elm` affiche la version de [Elm](https://elm-lang.org/) installée. P
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | -------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | -------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🌳 '` | Une chaîne de format représentant le symbole d'Elm. |
|
| `symbole` | `'🌳 '` | Une chaîne de format représentant le symbole d'Elm. |
|
||||||
| `detect_extensionsdetect_extensions` | `['elm']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['elm']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['elm.json', 'elm-package.json', '.elm-version']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['elm.json', 'elm-package.json', '.elm-version']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['elm-stuff']` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `['elm-stuff']` | Quels dossiers devraient activer ce module. |
|
||||||
| `style` | `'cyan bold'` | Le style pour le module. |
|
| `style` | `'cyan bold'` | Le style pour le module. |
|
||||||
@@ -1460,12 +1459,12 @@ Le module `erlang` affiche la version de [Erlang/OTP](https://erlang.org/doc/) i
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `' '` | Le symbole utilisé avant d'afficher la version d'erlang. |
|
| `symbole` | `' '` | Le symbole utilisé avant d'afficher la version d'erlang. |
|
||||||
| `style` | `'bold red'` | Le style pour le module. |
|
| `style` | `'bold red'` | Le style pour le module. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['rebar.config', 'elang.mk']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['rebar.config', 'elang.mk']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `disabled` | `false` | Désactive le module `erlang`. |
|
| `disabled` | `false` | Désactive le module `erlang`. |
|
||||||
@@ -1498,12 +1497,12 @@ The `fennel` module shows the currently installed version of [Fennel](https://fe
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🧅 '` | The symbol used before displaying the version of fennel. |
|
| `symbole` | `'🧅 '` | The symbol used before displaying the version of fennel. |
|
||||||
| `style` | `'bold green'` | Le style pour le module. |
|
| `style` | `'bold green'` | Le style pour le module. |
|
||||||
| `detect_extensionsdetect_extensions` | `['fnl']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['fnl']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `disabled` | `false` | Disables the `fennel` module. |
|
| `disabled` | `false` | Disables the `fennel` module. |
|
||||||
@@ -1890,7 +1889,7 @@ Le module Statut Git est très lent dans les dossiers Windows (par exemple sous
|
|||||||
| `staged` | `'+'` | Le format de `staged` |
|
| `staged` | `'+'` | Le format de `staged` |
|
||||||
| `renamed` | `'»'` | Le format de `renamed` |
|
| `renamed` | `'»'` | Le format de `renamed` |
|
||||||
| `deleted` | `'✘'` | Le format de `deleted` |
|
| `deleted` | `'✘'` | Le format de `deleted` |
|
||||||
| `typechanged` | `""` | The format of `typechange` |
|
| `typechanged` | `""` | The format of `typechanged` |
|
||||||
| `style` | `'bold red'` | Le style pour le module. |
|
| `style` | `'bold red'` | Le style pour le module. |
|
||||||
| `ignore_submodules` | `false` | Ignorer les changements des sous-modules. |
|
| `ignore_submodules` | `false` | Ignorer les changements des sous-modules. |
|
||||||
| `disabled` | `false` | Désactive le module `git_status`. |
|
| `disabled` | `false` | Désactive le module `git_status`. |
|
||||||
@@ -1911,7 +1910,7 @@ Les variables suivantes peuvent être utilisées pour la valeur de `format`:
|
|||||||
| `staged` | Affiche `staged` lorsqu'un nouveau fichier a été ajouté à la zone de validation. |
|
| `staged` | Affiche `staged` lorsqu'un nouveau fichier a été ajouté à la zone de validation. |
|
||||||
| `renamed` | Affiche `renamed` lorsqu'un fichier renommé a été ajouté à la zone de validation. |
|
| `renamed` | Affiche `renamed` lorsqu'un fichier renommé a été ajouté à la zone de validation. |
|
||||||
| `deleted` | Affiche `deleted` lorsque la suppression d'un fichier a été ajoutée à la zone de validation. |
|
| `deleted` | Affiche `deleted` lorsque la suppression d'un fichier a été ajoutée à la zone de validation. |
|
||||||
| `typechanged` | Displays `typechange` when a file's type has been changed in the staging area. |
|
| `typechanged` | Displays `typechanged` when a file's type has been changed in the staging area. |
|
||||||
| style\* | Reflète la valeur de l'option `style` |
|
| style\* | Reflète la valeur de l'option `style` |
|
||||||
|
|
||||||
*: Cette variable peut uniquement être utilisée dans une chaine de style
|
*: Cette variable peut uniquement être utilisée dans une chaine de style
|
||||||
@@ -1978,11 +1977,11 @@ The `gleam` module shows the currently installed version of [Gleam](https://glea
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'⭐ '` | A format string representing the symbol of Gleam. |
|
| `symbole` | `'⭐ '` | A format string representing the symbol of Gleam. |
|
||||||
| `detect_extensionsdetect_extensions` | `['gleam']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['gleam']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['gleam.toml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['gleam.toml']` | Les fichiers qui activent ce module. |
|
||||||
| `style` | `'bold #FFAFF3'` | Le style pour le module. |
|
| `style` | `'bold #FFAFF3'` | Le style pour le module. |
|
||||||
| `disabled` | `false` | Disables the `gleam` module. |
|
| `disabled` | `false` | Disables the `gleam` module. |
|
||||||
@@ -2023,11 +2022,11 @@ Le module `golang` affiche la version de [Go](https://golang.org/) installée. P
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
| ------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🐹 '` | Une chaîne de caractères représentant le symbole de Go. |
|
| `symbole` | `'🐹 '` | Une chaîne de caractères représentant le symbole de Go. |
|
||||||
| `detect_extensionsdetect_extensions` | `['go']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['go']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['go.mod', 'go.sum', 'go.work', 'glide.yaml', 'Gopkg.yml', 'Gopkg.lock', '.go-version']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['go.mod', 'go.sum', 'go.work', 'glide.yaml', 'Gopkg.yml', 'Gopkg.lock', '.go-version']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['Godeps']` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `['Godeps']` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold cyan'` | Le style pour le module. |
|
| `style` | `'bold cyan'` | Le style pour le module. |
|
||||||
@@ -2109,11 +2108,11 @@ The `gradle` module is only able to read your Gradle Wrapper version from your c
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🅶 '` | A format string representing the symbol of Gradle. |
|
| `symbole` | `'🅶 '` | A format string representing the symbol of Gradle. |
|
||||||
| `detect_extensionsdetect_extensions` | `['gradle', 'gradle.kts']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['gradle', 'gradle.kts']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['gradle']` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `['gradle']` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold bright-cyan'` | Le style pour le module. |
|
| `style` | `'bold bright-cyan'` | Le style pour le module. |
|
||||||
@@ -2142,10 +2141,10 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------- |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `symbole` | `'λ '` | Une chaîne de format représentant le symbole de Haskell |
|
| `symbole` | `'λ '` | Une chaîne de format représentant le symbole de Haskell |
|
||||||
| `detect_extensionsdetect_extensions` | `['hs', 'cabal', 'hs-boot']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['hs', 'cabal', 'hs-boot']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['stack.yaml', 'cabal.project']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['stack.yaml', 'cabal.project']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold purple'` | Le style pour le module. |
|
| `style` | `'bold purple'` | Le style pour le module. |
|
||||||
@@ -2174,10 +2173,10 @@ The `haxe` module shows the currently installed version of [Haxe](https://haxe.o
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `detect_extensionsdetect_extensions` | `['hx', 'hxml']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['hx', 'hxml']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['project.xml', 'Project.xml', 'application.xml', 'haxelib.json', 'hxformat.json', '.haxerc']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['project.xml', 'Project.xml', 'application.xml', 'haxelib.json', 'hxformat.json', '.haxerc']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['.haxelib', 'haxe_libraries']` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `['.haxelib', 'haxe_libraries']` | Quels dossiers devraient activer ce module. |
|
||||||
| `symbole` | `'⌘ '` | A format string representing the symbol of Haxe. |
|
| `symbole` | `'⌘ '` | A format string representing the symbol of Haxe. |
|
||||||
@@ -2213,10 +2212,10 @@ Le module `helm` affiche la version de [Helm](https://helm.sh/) installée. Par
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['helmfile.yaml', 'Chart.yaml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['helmfile.yaml', 'Chart.yaml']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `symbole` | `'⎈ '` | Une chaîne de format représentant le symbole de Helm. |
|
| `symbole` | `'⎈ '` | Une chaîne de format représentant le symbole de Helm. |
|
||||||
@@ -2257,6 +2256,7 @@ Le module `hostname` affiche le nom d’hôte du système system.
|
|||||||
| `format` | `'[$ssh_symbol$hostname]($style) in '` | Format du module. |
|
| `format` | `'[$ssh_symbol$hostname]($style) in '` | Format du module. |
|
||||||
| `style` | `'bold dimmed green'` | Le style pour le module. |
|
| `style` | `'bold dimmed green'` | Le style pour le module. |
|
||||||
| `disabled` | `false` | Désactive le module `hostname`. |
|
| `disabled` | `false` | Désactive le module `hostname`. |
|
||||||
|
| `aliases` | `{}` | Translate system hostnames to something else. If `trim_at` is specified, only the first part will be matched and replaced. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -2293,6 +2293,14 @@ detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|||||||
disabled = false
|
disabled = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Replace the hostname with a nickname
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
[hostname]
|
||||||
|
aliases = { "Max's MacBook Pro" = "home" }
|
||||||
|
```
|
||||||
|
|
||||||
## Java
|
## Java
|
||||||
|
|
||||||
Le module `java` affiche la version de [Java](https://www.oracle.com/java/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
Le module `java` affiche la version de [Java](https://www.oracle.com/java/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
||||||
@@ -2303,10 +2311,10 @@ Le module `java` affiche la version de [Java](https://www.oracle.com/java/) inst
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | --------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [${symbol}(${version} )]($style)'` | Format du module. |
|
| `format` | `'via [${symbol}(${version} )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `detect_extensionsdetect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['java', 'class', 'gradle', 'jar', 'cljs', 'cljc']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['pom.xml', 'build.gradle.kts', 'build.sbt', '.java-version', 'deps.edn', 'project.clj', 'build.boot', '.sdkmanrc']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `symbole` | `'☕ '` | Une chaîne de caractères représentant le symbole de Java |
|
| `symbole` | `'☕ '` | Une chaîne de caractères représentant le symbole de Java |
|
||||||
@@ -2400,10 +2408,10 @@ Le module `julia` affiche la version de [Julia](https://julialang.org/) install
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `detect_extensionsdetect_extensions` | `['jl']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['jl']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['Project.toml', 'Manifest.toml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['Project.toml', 'Manifest.toml']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `symbole` | `'ஃ '` | Une chaîne de caractères représentant le symbole de Julia. |
|
| `symbole` | `'ஃ '` | Une chaîne de caractères représentant le symbole de Julia. |
|
||||||
@@ -2438,10 +2446,10 @@ Le module `kotlin` affiche la version de [Kotlin](https://kotlinlang.org/) insta
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `detect_extensionsdetect_extensions` | `['kt', 'kts']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['kt', 'kts']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `symbole` | `'🅺 '` | Une chaîne de caractères représentant le symbole de Kotlin. |
|
| `symbole` | `'🅺 '` | Une chaîne de caractères représentant le symbole de Kotlin. |
|
||||||
@@ -2497,13 +2505,13 @@ The `context_aliases` and `user_aliases` options are deprecated. Use `contexts`
|
|||||||
:::
|
:::
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ---------------------------------------------------- | ---------------------------------------------------------------------- |
|
| ------------------- | ---------------------------------------------------- | ---------------------------------------------------------------------- |
|
||||||
| `symbole` | `'☸ '` | Une chaîne de format représentant le symbole affiché avant le Cluster. |
|
| `symbole` | `'☸ '` | Une chaîne de format représentant le symbole affiché avant le Cluster. |
|
||||||
| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | Format du module. |
|
| `format` | `'[$symbol$context( \($namespace\))]($style) in '` | Format du module. |
|
||||||
| `style` | `'cyan bold'` | Le style pour le module. |
|
| `style` | `'cyan bold'` | Le style pour le module. |
|
||||||
| `context_aliases`* | `{}` | Tableau des alias de contexte à afficher. |
|
| `context_aliases`* | `{}` | Tableau des alias de contexte à afficher. |
|
||||||
| `user_aliases`* | `{}` | Table of user aliases to display. |
|
| `user_aliases`* | `{}` | Table of user aliases to display. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module. |
|
||||||
| `detect_env_vars` | `[]` | Which environmental variables should trigger this module |
|
| `detect_env_vars` | `[]` | Which environmental variables should trigger this module |
|
||||||
@@ -2656,11 +2664,11 @@ Le module `lua` affiche la version de [Lua](http://www.lua.org/) installée. Par
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🌙 '` | Une chaîne de caractères représentant le symbole de Lua. |
|
| `symbole` | `'🌙 '` | Une chaîne de caractères représentant le symbole de Lua. |
|
||||||
| `detect_extensionsdetect_extensions` | `['lua']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['lua']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['.lua-version']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['.lua-version']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['lua']` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `['lua']` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold blue'` | Le style pour le module. |
|
| `style` | `'bold blue'` | Le style pour le module. |
|
||||||
@@ -2809,6 +2817,41 @@ truncation_length = 4
|
|||||||
truncation_symbol = ''
|
truncation_symbol = ''
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Mojo
|
||||||
|
|
||||||
|
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
| Option | Défaut | Description |
|
||||||
|
| ------------------- | ------------------------------------- | ------------------------------------------------------ |
|
||||||
|
| `format` | `'with [$symbol($version )]($style)'` | Format du module. |
|
||||||
|
| `symbole` | `'🔥 '` | The symbol used before displaying the version of Mojo. |
|
||||||
|
| `style` | `'bold 208'` | Le style pour le module. |
|
||||||
|
| `disabled` | `false` | Disables the `mojo` module. |
|
||||||
|
| `detect_extensions` | `['mojo', '🔥']` | Les extensions qui déclenchent ce module. |
|
||||||
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
|
|
||||||
|
### Variables
|
||||||
|
|
||||||
|
| Variable | Exemple | Description |
|
||||||
|
| --------- | -------- | -------------------------------------- |
|
||||||
|
| version | `24.4.0` | The version of `mojo` |
|
||||||
|
| symbole | | Reflète la valeur de l'option `symbol` |
|
||||||
|
| style\* | | Reflète la valeur de l'option `style` |
|
||||||
|
|
||||||
|
*: Cette variable peut uniquement être utilisée dans une chaine de style
|
||||||
|
|
||||||
|
### Exemple
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[mojo]
|
||||||
|
format = 'via [mojo ($version )($hash )]($style)'
|
||||||
|
```
|
||||||
|
|
||||||
## NATS
|
## NATS
|
||||||
|
|
||||||
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
||||||
@@ -2850,11 +2893,11 @@ Le module `nim` affiche la version de [Nim](https://nim-lang.org/) installée. P
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'👑 '` | Le symbole utilisé avant d'afficher la version de Nim. |
|
| `symbole` | `'👑 '` | Le symbole utilisé avant d'afficher la version de Nim. |
|
||||||
| `detect_extensionsdetect_extensions` | `['nim', 'nims', 'nimble']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['nim', 'nims', 'nimble']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['nim.cfg']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['nim.cfg']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold yellow'` | Le style pour le module. |
|
| `style` | `'bold yellow'` | Le style pour le module. |
|
||||||
@@ -2935,12 +2978,12 @@ Le module `nodejs` affiche la version de [Node.js](https://nodejs.org/) install
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------------ | ----------------------------------------------------------------------------------------------------------- |
|
| ------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `' '` | Une chaîne de caractères représentant le symbole de Node.js. |
|
| `symbole` | `' '` | Une chaîne de caractères représentant le symbole de Node.js. |
|
||||||
| `detect_extensionsdetect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['package.json', '.node-version']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['package.json', '.node-version', '.nvmrc']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['node_modules']` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `['node_modules']` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold green'` | Le style pour le module. |
|
| `style` | `'bold green'` | Le style pour le module. |
|
||||||
| `disabled` | `false` | Désactive le module `nodejs`. |
|
| `disabled` | `false` | Désactive le module `nodejs`. |
|
||||||
@@ -2980,13 +3023,13 @@ Le module `ocaml` affiche la version de [OCaml](https://ocaml.org/) installée.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'` | La chaîne de format pour le module. |
|
| `format` | `'via [$symbol($version )(\($switch_indicator$switch_name\) )]($style)'` | La chaîne de format pour le module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🐫 '` | Le symbole utilisé avant d'afficher la version de OCaml. |
|
| `symbole` | `'🐫 '` | Le symbole utilisé avant d'afficher la version de OCaml. |
|
||||||
| `global_switch_indicator` | `''` | La chaîne de caractères utilisée pour représenter le commutateur OPAM global. |
|
| `global_switch_indicator` | `''` | La chaîne de caractères utilisée pour représenter le commutateur OPAM global. |
|
||||||
| `local_switch_indicator` | `'*'` | La chaîne de caractères utilisée pour représenter le commutateur OPAM local. |
|
| `local_switch_indicator` | `'*'` | La chaîne de caractères utilisée pour représenter le commutateur OPAM local. |
|
||||||
| `detect_extensionsdetect_extensions` | `['opam', 'ml', 'mli', 're', 'rei']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['opam', 'ml', 'mli', 're', 'rei']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['dune', 'dune-project', 'jbuild', 'jbuild-ignore', '.merlin']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['dune', 'dune-project', 'jbuild', 'jbuild-ignore', '.merlin']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['_opam', 'esy.lock']` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `['_opam', 'esy.lock']` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold yellow'` | Le style pour le module. |
|
| `style` | `'bold yellow'` | Le style pour le module. |
|
||||||
@@ -3015,18 +3058,18 @@ format = 'via [🐪 $version]($style) '
|
|||||||
|
|
||||||
## Odin
|
## Odin
|
||||||
|
|
||||||
The 'odin' module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
The `odin` module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `show_commit` | `false` | Shows the commit as part of the version. |
|
| `show_commit` | `false` | Shows the commit as part of the version. |
|
||||||
| `symbole` | `'Ø '` | Le symbole utilisé avant d'afficher la version de Zig. |
|
| `symbole` | `'Ø '` | Le symbole utilisé avant d'afficher la version de Zig. |
|
||||||
| `style` | `'bold bright-blue'` | Le style pour le module. |
|
| `style` | `'bold bright-blue'` | Le style pour le module. |
|
||||||
| `disabled` | `false` | Disables the `odin` module. |
|
| `disabled` | `false` | Disables the `odin` module. |
|
||||||
| `detect_extensionsdetect_extensions` | `['odin']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['odin']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
|
|
||||||
@@ -3057,11 +3100,11 @@ The `opa` module shows the currently installed version of the OPA tool. By defau
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🪖 '` | A format string representing the symbol of OPA. |
|
| `symbole` | `'🪖 '` | A format string representing the symbol of OPA. |
|
||||||
| `detect_extensionsdetect_extensions` | `['rego']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['rego']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold blue'` | Le style pour le module. |
|
| `style` | `'bold blue'` | Le style pour le module. |
|
||||||
@@ -3159,6 +3202,7 @@ Amazon = "🙂 "
|
|||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
Artix = "🎗️ "
|
Artix = "🎗️ "
|
||||||
|
CachyOS = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@@ -3180,6 +3224,7 @@ MidnightBSD = "🌘 "
|
|||||||
Mint = "🌿 "
|
Mint = "🌿 "
|
||||||
NetBSD = "🚩 "
|
NetBSD = "🚩 "
|
||||||
NixOS = "❄️ "
|
NixOS = "❄️ "
|
||||||
|
Nobara = "🎩 "
|
||||||
OpenBSD = "🐡 "
|
OpenBSD = "🐡 "
|
||||||
OpenCloudOS = "☁️ "
|
OpenCloudOS = "☁️ "
|
||||||
openEuler = "🦉 "
|
openEuler = "🦉 "
|
||||||
@@ -3196,6 +3241,7 @@ SUSE = "🦎 "
|
|||||||
Ubuntu = "🎯 "
|
Ubuntu = "🎯 "
|
||||||
Ultramarine = "🔷 "
|
Ultramarine = "🔷 "
|
||||||
Unknown = "❓ "
|
Unknown = "❓ "
|
||||||
|
Uos = "🐲 "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = "🪟 "
|
Windows = "🪟 "
|
||||||
```
|
```
|
||||||
@@ -3296,11 +3342,11 @@ Le module `perl` affiche la version de [Perl](https://www.perl.org/) installée.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | La chaîne de format pour le module. |
|
| `format` | `'via [$symbol($version )]($style)'` | La chaîne de format pour le module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🐪 '` | Le symbole utilisé avant d'afficher la version de Perl |
|
| `symbole` | `'🐪 '` | Le symbole utilisé avant d'afficher la version de Perl |
|
||||||
| `detect_extensionsdetect_extensions` | `['pl', 'pm', 'pod']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['pl', 'pm', 'pod']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['Makefile.PL', 'Build.PL', 'cpanfile', 'cpanfile.snapshot', 'META.json', 'META.yml', '.perl-version']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['Makefile.PL', 'Build.PL', 'cpanfile', 'cpanfile.snapshot', 'META.json', 'META.yml', '.perl-version']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold 149'` | Le style pour le module. |
|
| `style` | `'bold 149'` | Le style pour le module. |
|
||||||
@@ -3334,11 +3380,11 @@ Le module `php` affiche la version de [PHP](https://www.php.net/) installée. Pa
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🐘 '` | Le symbole utilisé avant d'afficher la version de PHP. |
|
| `symbole` | `'🐘 '` | Le symbole utilisé avant d'afficher la version de PHP. |
|
||||||
| `detect_extensionsdetect_extensions` | `['php']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['php']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['composer.json', '.php-version']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['composer.json', '.php-version']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'147 bold'` | Le style pour le module. |
|
| `style` | `'147 bold'` | Le style pour le module. |
|
||||||
@@ -3448,11 +3494,11 @@ Le module `purescript` affiche la version de [PureScript](https://www.purescript
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | --------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | --------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'<=> '` | Le symbole utilisé avant d'afficher la version de PureScript. |
|
| `symbole` | `'<=> '` | Le symbole utilisé avant d'afficher la version de PureScript. |
|
||||||
| `detect_extensionsdetect_extensions` | `['purs']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['purs']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['spago.dhall', 'spago.yaml', 'spago.lock']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['spago.dhall', 'spago.yaml', 'spago.lock']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold white'` | Le style pour le module. |
|
| `style` | `'bold white'` | Le style pour le module. |
|
||||||
@@ -3492,13 +3538,15 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
|||||||
- Le dossier courant contient un fichier `requirements.txt`
|
- Le dossier courant contient un fichier `requirements.txt`
|
||||||
- Le dossier courant contient un fichier `setup.py`
|
- Le dossier courant contient un fichier `setup.py`
|
||||||
- Le dossier courant contient un fichier `tox.ini`
|
- Le dossier courant contient un fichier `tox.ini`
|
||||||
|
- Le dossier courant contient un fichier `pixi.toml`
|
||||||
- Le dossier courant contient un fichier avec l’extension `.py`.
|
- Le dossier courant contient un fichier avec l’extension `.py`.
|
||||||
|
- The current directory contains a file with the `.ipynb` extension.
|
||||||
- Un environnement virtuel est actuellement activé
|
- Un environnement virtuel est actuellement activé
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Format du module. |
|
| `format` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🐍 '` | Une chaîne de caractères représentant le symbole de Python |
|
| `symbole` | `'🐍 '` | Une chaîne de caractères représentant le symbole de Python |
|
||||||
@@ -3506,8 +3554,8 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
|||||||
| `pyenv_version_name` | `false` | Utiliser pyenv pour obtenir la version de Python |
|
| `pyenv_version_name` | `false` | Utiliser pyenv pour obtenir la version de Python |
|
||||||
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
||||||
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
||||||
| `detect_extensionsdetect_extensions` | `['py']` | Les extensions qui déclenchent ce module |
|
| `detect_extensions` | `['py', 'ipynb']` | Les extensions qui déclenchent ce module |
|
||||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | Quels fichiers devraient activer ce module |
|
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini', 'pixi.toml']` | Quels fichiers devraient activer ce module |
|
||||||
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module |
|
| `detect_folders` | `[]` | Quels dossiers devraient activer ce module |
|
||||||
| `disabled` | `false` | Désactive le module `python`. |
|
| `disabled` | `false` | Désactive le module `python`. |
|
||||||
|
|
||||||
@@ -3567,12 +3615,12 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'⨁ '` | A format string representing the symbol of Quarto |
|
| `symbole` | `'⨁ '` | A format string representing the symbol of Quarto |
|
||||||
| `style` | `'bold #75AADB'` | Le style pour le module. |
|
| `style` | `'bold #75AADB'` | Le style pour le module. |
|
||||||
| `detect_extensionsdetect_extensions` | `['.qmd']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['.qmd']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['_quarto.yml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['_quarto.yml']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `disabled` | `false` | Disables the `quarto` module. |
|
| `disabled` | `false` | Disables the `quarto` module. |
|
||||||
@@ -3602,12 +3650,12 @@ Le module `rlang` affiche la version de [R](https://www.r-project.org/) install
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'📐'` | Une chaîne de caractères représentant le symbole de R. |
|
| `symbole` | `'📐'` | Une chaîne de caractères représentant le symbole de R. |
|
||||||
| `style` | `'blue bold'` | Le style pour le module. |
|
| `style` | `'blue bold'` | Le style pour le module. |
|
||||||
| `detect_extensionsdetect_extensions` | `['R', 'Rd', 'Rmd', 'Rproj', 'Rsx']` | Les extensions qui déclenchent ce module |
|
| `detect_extensions` | `['R', 'Rd', 'Rmd', 'Rproj', 'Rsx']` | Les extensions qui déclenchent ce module |
|
||||||
| `detect_files` | `['.Rprofile']` | Quels fichiers devraient activer ce module |
|
| `detect_files` | `['.Rprofile']` | Quels fichiers devraient activer ce module |
|
||||||
| `detect_folders` | `['.Rproj.user']` | Quels dossiers devraient activer ce module |
|
| `detect_folders` | `['.Rproj.user']` | Quels dossiers devraient activer ce module |
|
||||||
| `disabled` | `false` | Désactive le module `r`. |
|
| `disabled` | `false` | Désactive le module `r`. |
|
||||||
@@ -3639,11 +3687,11 @@ The `raku` module shows the currently installed version of [Raku](https://www.ra
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version-$vm_version )]($style)'` | La chaîne de format pour le module. |
|
| `format` | `'via [$symbol($version-$vm_version )]($style)'` | La chaîne de format pour le module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🦋 '` | The symbol used before displaying the version of Raku |
|
| `symbole` | `'🦋 '` | The symbol used before displaying the version of Raku |
|
||||||
| `detect_extensionsdetect_extensions` | `['p6', 'pm6', 'pod6', 'raku', 'rakumod']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['p6', 'pm6', 'pod6', 'raku', 'rakumod']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['META6.json']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['META6.json']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold 149'` | Le style pour le module. |
|
| `style` | `'bold 149'` | Le style pour le module. |
|
||||||
@@ -3676,11 +3724,11 @@ Par défaut, le module `red` affiche la version de [Red](https://www.red-lang.or
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🔺 '` | Une chaîne de caractères représentant le symbole de Red. |
|
| `symbole` | `'🔺 '` | Une chaîne de caractères représentant le symbole de Red. |
|
||||||
| `detect_extensionsdetect_extensions` | `['red']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['red']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'red bold'` | Le style pour le module. |
|
| `style` | `'red bold'` | Le style pour le module. |
|
||||||
@@ -3719,11 +3767,11 @@ Starship obtient la version actuelle de Ruby en exécutant `ruby -v`.
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'💎 '` | Une chaîne de caractères représentant le symbole de Ruby. |
|
| `symbole` | `'💎 '` | Une chaîne de caractères représentant le symbole de Ruby. |
|
||||||
| `detect_extensionsdetect_extensions` | `['rb']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['rb']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['Gemfile', '.ruby-version']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['Gemfile', '.ruby-version']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Les variables d’environnement qui activent ce module. |
|
| `detect_variables` | `['RUBY_VERSION', 'RBENV_VERSION']` | Les variables d’environnement qui activent ce module. |
|
||||||
@@ -3760,11 +3808,11 @@ Le module `rust` affiche la version de [Rust](https://www.rust-lang.org/) instal
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🦀 '` | Une chaîne de caractères représentant le symbole de Rust |
|
| `symbole` | `'🦀 '` | Une chaîne de caractères représentant le symbole de Rust |
|
||||||
| `detect_extensionsdetect_extensions` | `['rs']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['rs']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['Cargo.toml']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['Cargo.toml']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold red'` | Le style pour le module. |
|
| `style` | `'bold red'` | Le style pour le module. |
|
||||||
@@ -3802,10 +3850,10 @@ Le module `scale` affiche la version de [Scala](https://www.scala-lang.org/) ins
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ---------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [${symbol}(${version} )]($style)'` | Format du module. |
|
| `format` | `'via [${symbol}(${version} )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `detect_extensionsdetect_extensions` | `['sbt', 'scala']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['sbt', 'scala']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['.scalaenv', '.sbtenv', 'build.sbt']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['.metals']` | Quels dossiers devraient activer ce module. |
|
| `detect_folders` | `['.metals']` | Quels dossiers devraient activer ce module. |
|
||||||
| `symbole` | `'🆂 '` | Une chaîne de caractères représentant le symbole de Scala. |
|
| `symbole` | `'🆂 '` | Une chaîne de caractères représentant le symbole de Scala. |
|
||||||
@@ -3975,12 +4023,12 @@ The `solidity` module shows the currently installed version of [Solidity](https:
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${major}.${minor}.${patch}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${major}.${minor}.${patch}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'S '` | A format string representing the symbol of Solidity |
|
| `symbole` | `'S '` | A format string representing the symbol of Solidity |
|
||||||
| `compiler | ['solc'] | The default compiler for Solidity. |
|
| `compiler | ['solc'] | The default compiler for Solidity. |
|
||||||
| `detect_extensionsdetect_extensions` | `['sol']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['sol']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold blue'` | Le style pour le module. |
|
| `style` | `'bold blue'` | Le style pour le module. |
|
||||||
@@ -4050,7 +4098,7 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$status]($style) '` | Le format du module |
|
| `format` | `'[$symbol$status]($style) '` | Le format du module |
|
||||||
| `symbole` | `'❌'` | The symbol displayed on program error |
|
| `symbole` | `'❌'` | The symbol displayed on program error |
|
||||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||||
@@ -4059,18 +4107,20 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
|
|||||||
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
||||||
| `style` | `'bold red'` | Le style pour le module. |
|
| `style` | `'bold red'` | Le style pour le module. |
|
||||||
|
| `success_style` | | The style used on program success (defaults to `style` if unset). |
|
||||||
|
| `failure_style` | | The style used on program failure (defaults to `style` if unset). |
|
||||||
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
||||||
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
||||||
| `pipestatus` | `false` | Enable pipestatus reporting |
|
| `pipestatus` | `false` | Enable pipestatus reporting |
|
||||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||||
| `disabled` | `true` | Désactiver le module `status`. |
|
| `disabled` | `true` | Désactiver le module `status`. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Exemple | Description |
|
| Variable | Exemple | Description |
|
||||||
| -------------- | ------- | ------------------------------------------------------------------------------------------ |
|
| -------------- | ------- | -------------------------------------------------------------------------------------------- |
|
||||||
| statut | `127` | Le code de sortie de la dernière commande |
|
| statut | `127` | Le code de sortie de la dernière commande |
|
||||||
| hex_status | `0x7F` | Le code de sortie de la dernière commande en hexa |
|
| hex_status | `0x7F` | Le code de sortie de la dernière commande en hexa |
|
||||||
| int | `127` | Le code de sortie de la dernière commande |
|
| int | `127` | Le code de sortie de la dernière commande |
|
||||||
@@ -4080,7 +4130,7 @@ Ce module est désactivé par défaut. Pour l'activer, configurez `disabled` sur
|
|||||||
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
||||||
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
||||||
| symbole | | Reflète la valeur de l'option `symbol` |
|
| symbole | | Reflète la valeur de l'option `symbol` |
|
||||||
| style\* | | Reflète la valeur de l'option `style` |
|
| style\* | | Mirrors the value of option `success_style` on program success and `failure_style` otherwise |
|
||||||
|
|
||||||
*: Cette variable peut uniquement être utilisée dans une chaine de style
|
*: Cette variable peut uniquement être utilisée dans une chaine de style
|
||||||
|
|
||||||
@@ -4157,11 +4207,11 @@ Par défaut, le module `swift` affiche la version de [Swift](https://swift.org/)
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'🐦 '` | Une chaîne de caractères représentant le symbole de Swift |
|
| `symbole` | `'🐦 '` | Une chaîne de caractères représentant le symbole de Swift |
|
||||||
| `detect_extensionsdetect_extensions` | `['swift']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['swift']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['Package.swift']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['Package.swift']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold 202'` | Le style pour le module. |
|
| `style` | `'bold 202'` | Le style pour le module. |
|
||||||
@@ -4204,11 +4254,11 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol$workspace]($style) '` | La chaîne de format pour le module. |
|
| `format` | `'via [$symbol$workspace]($style) '` | La chaîne de format pour le module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'💠'` | Une chaîne de format montrée avant l'espace de travail terraform. |
|
| `symbole` | `'💠'` | Une chaîne de format montrée avant l'espace de travail terraform. |
|
||||||
| `detect_extensionsdetect_extensions` | `['tf', 'tfplan', 'tfstate']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `['.terraform']` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `['.terraform']` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'bold 105'` | Le style pour le module. |
|
| `style` | `'bold 105'` | Le style pour le module. |
|
||||||
@@ -4303,12 +4353,12 @@ Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'t '` | A format string representing the symbol of Typst |
|
| `symbole` | `'t '` | A format string representing the symbol of Typst |
|
||||||
| `style` | `'bold #0093A7'` | Le style pour le module. |
|
| `style` | `'bold #0093A7'` | Le style pour le module. |
|
||||||
| `detect_extensionsdetect_extensions` | `['.typ']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['.typ']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['template.typ']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['template.typ']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `disabled` | `false` | Disables the `typst` module. |
|
| `disabled` | `false` | Disables the `typst` module. |
|
||||||
@@ -4350,7 +4400,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
| `format` | `'[$user]($style) in '` | Format du module. |
|
| `format` | `'[$user]($style) in '` | Format du module. |
|
||||||
| `show_always` | `false` | Toujours afficher le module `username`. |
|
| `show_always` | `false` | Toujours afficher le module `username`. |
|
||||||
| `disabled` | `false` | Désactive le module `username`. |
|
| `disabled` | `false` | Désactive le module `username`. |
|
||||||
| `aliases` | `{}` | Translate system usernames to something else |
|
| `aliases` | `{}` | Translate system usernames to something else. |
|
||||||
|
|
||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
@@ -4361,7 +4411,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
|
|
||||||
### Exemple
|
### Exemple
|
||||||
|
|
||||||
#### Always show the hostname
|
#### Always show the username
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
@@ -4375,17 +4425,6 @@ show_always = true
|
|||||||
aliases = { "corpuser034g" = "matchai" }
|
aliases = { "corpuser034g" = "matchai" }
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Hide the hostname in remote tmux sessions
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|
||||||
disabled = false
|
|
||||||
```
|
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
|
|
||||||
Le module `vagrant` affiche la version de [Vagrant](https://www.vagrantup.com/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
Le module `vagrant` affiche la version de [Vagrant](https://www.vagrantup.com/) installée. Par défaut, le module sera affiché si l’une de ces conditions est remplie:
|
||||||
@@ -4395,11 +4434,11 @@ Le module `vagrant` affiche la version de [Vagrant](https://www.vagrantup.com/)
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'⍱ '` | Une chaîne de caractères représentant le symbole de Vagrant. |
|
| `symbole` | `'⍱ '` | Une chaîne de caractères représentant le symbole de Vagrant. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `[]` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['Vagrantfile']` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['Vagrantfile']` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'cyan bold'` | Le style pour le module. |
|
| `style` | `'cyan bold'` | Le style pour le module. |
|
||||||
@@ -4434,11 +4473,11 @@ Le module `vlang` affiche la version de [V](https://vlang.io/) installée. Par d
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | -------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
| ------------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'V '` | Une chaîne de caractères représentant le symbole de V |
|
| `symbole` | `'V '` | Une chaîne de caractères représentant le symbole de V |
|
||||||
| `detect_extensionsdetect_extensions` | `['v']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['v']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `['v.mod', 'vpkg.json', '.vpkg-lock.json' ]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
| `style` | `'blue bold'` | Le style pour le module. |
|
| `style` | `'blue bold'` | Le style pour le module. |
|
||||||
@@ -4501,13 +4540,13 @@ By default the `zig` module shows the currently installed version of [Zig](https
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------ |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format du module. |
|
||||||
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Le format de la version. Les variables disponibles sont `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbole` | `'↯ '` | Le symbole utilisé avant d'afficher la version de Zig. |
|
| `symbole` | `'↯ '` | Le symbole utilisé avant d'afficher la version de Zig. |
|
||||||
| `style` | `'bold yellow'` | Le style pour le module. |
|
| `style` | `'bold yellow'` | Le style pour le module. |
|
||||||
| `disabled` | `false` | Désactive le module `zig`. |
|
| `disabled` | `false` | Désactive le module `zig`. |
|
||||||
| `detect_extensionsdetect_extensions` | `['zig']` | Les extensions qui déclenchent ce module. |
|
| `detect_extensions` | `['zig']` | Les extensions qui déclenchent ce module. |
|
||||||
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
| `detect_files` | `[]` | Les fichiers qui activent ce module. |
|
||||||
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
| `detect_folders` | `[]` | Les dossiers qui activent ce module. |
|
||||||
|
|
||||||
@@ -4571,16 +4610,16 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
### Options
|
### Options
|
||||||
|
|
||||||
| Option | Défaut | Description |
|
| Option | Défaut | Description |
|
||||||
| ------------------------------------ | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `command` | `''` | La commande dont la sortie doit être affichée. La commande sera transmise au shell sur l’entrée standard. |
|
| `command` | `''` | La commande dont la sortie doit être affichée. La commande sera transmise au shell sur l’entrée standard. |
|
||||||
| `when` | `false` | Soit une valeur booléenne (`true` ou `false`, sans guillemets) ou une commande shell utilisée comme condition pour afficher le module. Dans le cas d’une chaine, le module sera affiché si la commande renvoie un code de statut `0`. |
|
| `when` | `false` | Soit une valeur booléenne (`true` ou `false`, sans guillemets) ou une commande shell utilisée comme condition pour afficher le module. In case of a string, the module will be shown if the `shell` returns a `0` status code from executing it. |
|
||||||
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
||||||
| `shell` | | [Voir plus bas](#custom-command-shell) |
|
| `shell` | | [Voir plus bas](#custom-command-shell) |
|
||||||
| `description` | `'<custom module>'` | La description du module qui est affichée lors de l’exécution de `starship explain`. |
|
| `description` | `'<custom module>'` | La description du module qui est affichée lors de l’exécution de `starship explain`. |
|
||||||
| `unsafe_no_escape` | `false` | When set, command output is not escaped of characters that could be interpreted by the shell. |
|
| `unsafe_no_escape` | `false` | When set, command output is not escaped of characters that could be interpreted by the shell. |
|
||||||
| `detect_files` | `[]` | The files that will be searched in the working directory for a match. |
|
| `detect_files` | `[]` | The files that will be searched in the working directory for a match. |
|
||||||
| `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. |
|
| `detect_folders` | `[]` | The directories that will be searched in the working directory for a match. |
|
||||||
| `detect_extensionsdetect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
|
| `detect_extensions` | `[]` | The extensions that will be searched in the working directory for a match. |
|
||||||
| `symbole` | `''` | Le symbole utilisé avant d'afficher la sortie de la commande. |
|
| `symbole` | `''` | Le symbole utilisé avant d'afficher la sortie de la commande. |
|
||||||
| `style` | `'bold green'` | Le style pour le module. |
|
| `style` | `'bold green'` | Le style pour le module. |
|
||||||
| `format` | `'[$symbol($output )]($style)'` | Format du module. |
|
| `format` | `'[$symbol($output )]($style)'` | Format du module. |
|
||||||
@@ -4592,8 +4631,8 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
### Variables
|
### Variables
|
||||||
|
|
||||||
| Variable | Description |
|
| Variable | Description |
|
||||||
| --------- | ------------------------------------------- |
|
| --------- | -------------------------------------- |
|
||||||
| output | La sortie de la commande shell dans `shell` |
|
| output | The output of `command` run in `shell` |
|
||||||
| symbole | Reflète la valeur de l'option `symbol` |
|
| symbole | Reflète la valeur de l'option `symbol` |
|
||||||
| style\* | Reflète la valeur de l'option `style` |
|
| style\* | Reflète la valeur de l'option `style` |
|
||||||
|
|
||||||
@@ -4608,7 +4647,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
||||||
|
|
||||||
The `command` will be passed in on stdin.
|
The `command` (and `when`, if applicable) will be passed in on stdin.
|
||||||
|
|
||||||
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
||||||
|
|
||||||
|
|||||||
+14
-11
@@ -338,20 +338,14 @@ eval $(starship init ion)
|
|||||||
<details>
|
<details>
|
||||||
<summary>Nushell</summary>
|
<summary>Nushell</summary>
|
||||||
|
|
||||||
Add the following to the end of your Nushell env file (find it by running `$nu.env-path` in Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
```
|
||||||
|
|
||||||
Ajoutez le code suivant à la fin de votre configuration Nushell (trouvez-la en exécutant `$nu.config path`):
|
Note: Only Nushell v0.96+ is supported
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
Note: Seul Nushell v0.78+ est supporté
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -431,7 +425,16 @@ Voyez ces travaux précédents qui ont contribué à inspirer la création de St
|
|||||||
|
|
||||||
Soutenez ce projet en [devenant un collaborateur](https://github.com/sponsors/starship). Votre nom ou logo apparaîtra ici avec un lien vers votre site Web.
|
Soutenez ce projet en [devenant un collaborateur](https://github.com/sponsors/starship). Votre nom ou logo apparaîtra ici avec un lien vers votre site Web.
|
||||||
|
|
||||||
- Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org)
|
## 🔒 Code Signing Policy
|
||||||
|
|
||||||
|
Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org).
|
||||||
|
|
||||||
|
Code Signing Roles:
|
||||||
|
|
||||||
|
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
|
||||||
|
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
|
||||||
|
|
||||||
|
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Ce préréglage modifie le format de tous les modules intégrés pour afficher l
|
|||||||
starship preset bracketed-segments -o ~/.config/starship.toml
|
starship preset bracketed-segments -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/bracketed-segments.toml)
|
[Click to download TOML](/presets/toml/bracketed-segments.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/bracketed-segments.toml
|
<<< @/public/presets/toml/bracketed-segments.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
|
|||||||
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
starship preset gruvbox-rainbow -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/gruvbox-rainbow.toml)
|
[Click to download TOML](/presets/toml/gruvbox-rainbow.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
<<< @/public/presets/toml/gruvbox-rainbow.toml
|
||||||
|
|||||||
@@ -19,6 +19,6 @@ This is a pseudo minimalist preset inspired by the [geometry](https://github.com
|
|||||||
starship preset jetpack -o ~/.config/starship.toml
|
starship preset jetpack -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/jetpack.toml)
|
[Click to download TOML](/presets/toml/jetpack.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/jetpack.toml
|
<<< @/public/presets/toml/jetpack.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ Ce préréglage change les symboles de chaque module pour utiliser les symboles
|
|||||||
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
starship preset nerd-font-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/nerd-font-symbols.toml)
|
[Click to download TOML](/presets/toml/nerd-font-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/nerd-font-symbols.toml
|
<<< @/public/presets/toml/nerd-font-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ If toolset files are identified the toolset icon is displayed. If the toolset is
|
|||||||
starship preset no-empty-icons -o ~/.config/starship.toml
|
starship preset no-empty-icons -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/no-empty-icons.toml)
|
[Click to download TOML](/presets/toml/no-empty-icons.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-empty-icons.toml
|
<<< @/public/presets/toml/no-empty-icons.toml
|
||||||
|
|||||||
@@ -14,6 +14,6 @@ This preset will become the default preset in a future release of starship.
|
|||||||
starship preset no-nerd-font -o ~/.config/starship.toml
|
starship preset no-nerd-font -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/no-nerd-font.toml)
|
[Click to download TOML](/presets/toml/no-nerd-font.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-nerd-font.toml
|
<<< @/public/presets/toml/no-nerd-font.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Ce préréglage masque la version des environnements. Si vous travaillez dans de
|
|||||||
starship preset no-runtime-versions -o ~/.config/starship.toml
|
starship preset no-runtime-versions -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/no-runtime-versions.toml)
|
[Click to download TOML](/presets/toml/no-runtime-versions.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/no-runtime-versions.toml
|
<<< @/public/presets/toml/no-runtime-versions.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ Ce préréglage s'inspire de [M365Princess](https://github.com/JanDeDobbeleer/oh
|
|||||||
starship preset pastel-powerline -o ~/.config/starship.toml
|
starship preset pastel-powerline -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/pastel-powerline.toml)
|
[Click to download TOML](/presets/toml/pastel-powerline.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pastel-powerline.toml
|
<<< @/public/presets/toml/pastel-powerline.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Ce préréglage change les symboles de chaque module en texte brut. Idéal si vo
|
|||||||
starship preset plain-text-symbols -o ~/.config/starship.toml
|
starship preset plain-text-symbols -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/plain-text-symbols.toml)
|
[Click to download TOML](/presets/toml/plain-text-symbols.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/plain-text-symbols.toml
|
<<< @/public/presets/toml/plain-text-symbols.toml
|
||||||
|
|||||||
@@ -12,6 +12,6 @@ Ce préréglage émule l'apparence et le comportement de [Pure](https://github.c
|
|||||||
starship preset pure-preset -o ~/.config/starship.toml
|
starship preset pure-preset -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/pure-preset.toml)
|
[Click to download TOML](/presets/toml/pure-preset.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/pure-preset.toml
|
<<< @/public/presets/toml/pure-preset.toml
|
||||||
|
|||||||
@@ -16,6 +16,6 @@ This preset is inspired by [tokyo-night-vscode-theme](https://github.com/enkia/t
|
|||||||
starship preset tokyo-night -o ~/.config/starship.toml
|
starship preset tokyo-night -o ~/.config/starship.toml
|
||||||
```
|
```
|
||||||
|
|
||||||
[Cliquez pour télécharger le TOML](/presets/toml/tokyo-night.toml)
|
[Click to download TOML](/presets/toml/tokyo-night.toml){download}
|
||||||
|
|
||||||
<<< @/public/presets/toml/tokyo-night.toml
|
<<< @/public/presets/toml/tokyo-night.toml
|
||||||
|
|||||||
+4
-10
@@ -166,21 +166,15 @@ onMounted(() => {
|
|||||||
|
|
||||||
::: warning
|
::: warning
|
||||||
|
|
||||||
Hal ini dapat berubah di kemudian hari. Hanya Nushell v0.78+ yang menerima dukungan.
|
Hal ini dapat berubah di kemudian hari. Only Nushell v0.96+ is supported.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
Tambahkan baris berikut di akhir env file Nushell anda (dengan menjalankan `$nu.env-path` di Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
|
||||||
|
|
||||||
Lalu tambahkan baris berikut di baris terakhir konfigurasi Nushell (temukan dengan menjalankan `$nu.config-path`):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+81
-42
@@ -553,10 +553,7 @@ discharging_symbol = '💦 '
|
|||||||
|
|
||||||
## Buf
|
## Buf
|
||||||
|
|
||||||
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if all of the following conditions are met:
|
The `buf` module shows the currently installed version of [Buf](https://buf.build). By default, the module is shown if the current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
||||||
|
|
||||||
- The [`buf`](https://github.com/bufbuild/buf) CLI is installed.
|
|
||||||
- The current directory contains a [`buf.yaml`](https://docs.buf.build/configuration/v1/buf-yaml), [`buf.gen.yaml`](https://docs.buf.build/configuration/v1/buf-gen-yaml), or [`buf.work.yaml`](https://docs.buf.build/configuration/v1/buf-work-yaml) configuration file.
|
|
||||||
|
|
||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
@@ -594,18 +591,19 @@ symbol = '🦬 '
|
|||||||
|
|
||||||
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
The `bun` module shows the currently installed version of the [bun](https://bun.sh) JavaScript runtime. Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
||||||
|
|
||||||
|
- Direktori ini memiliki berkas `bun.lock`
|
||||||
- Direktori ini memiliki berkas `bun.lockb`
|
- Direktori ini memiliki berkas `bun.lockb`
|
||||||
- Direktori ini memiliki berkas `bunfig.toml`
|
- Direktori ini memiliki berkas `bunfig.toml`
|
||||||
|
|
||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| ------------------- | ------------------------------------ | ----------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format dari modul. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format dari modul. |
|
||||||
| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
| `symbol` | `'🥟 '` | A format string representing the symbol of Bun. |
|
||||||
| `detect_extensions` | `[]` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
| `detect_extensions` | `[]` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
||||||
| `detect_files` | `['bun.lockb', 'bunfig.toml']` | filenames mana yang sebaiknya memicu modul ini. |
|
| `detect_files` | `['bun.lock', 'bun.lockb', 'bunfig.toml']` | filenames mana yang sebaiknya memicu modul ini. |
|
||||||
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. |
|
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. |
|
||||||
| `style` | `'bold red'` | Gaya penataan untuk modul. |
|
| `style` | `'bold red'` | Gaya penataan untuk modul. |
|
||||||
| `disabled` | `false` | Disables the `bun` module. |
|
| `disabled` | `false` | Disables the `bun` module. |
|
||||||
@@ -635,7 +633,7 @@ format = 'via [🍔 $version](bold green) '
|
|||||||
|
|
||||||
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
You can override the `detect_files` property of [the nodejs module](#nodejs) in your config so as to only show the bun runtime:
|
||||||
|
|
||||||
```
|
```toml
|
||||||
[nodejs]
|
[nodejs]
|
||||||
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
detect_files = ['package.json', '.node-version', '!bunfig.toml', '!bun.lockb']
|
||||||
```
|
```
|
||||||
@@ -863,7 +861,7 @@ The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) e
|
|||||||
|
|
||||||
::: tip
|
::: tip
|
||||||
|
|
||||||
Hal ini tidak menahan pengubah (modifier) prompt dari conda sendiri, kamu mungkin bisa menjalankan `conda config --set changeps1 False`.
|
Hal ini tidak menahan pengubah (modifier) prompt dari conda sendiri, kamu mungkin bisa menjalankan `conda config --set changeps1 False`. If you use [pixi](https://pixi.sh), you can disable pixi's prompt modifier by running `pixi config set change-ps1 false`.
|
||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
@@ -1050,17 +1048,17 @@ format = 'via [🔰 $version](bold red) '
|
|||||||
|
|
||||||
Modul `deno` menampilkan versi terkini dari [Deno](https://deno.land/) yang terpasang. Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
Modul `deno` menampilkan versi terkini dari [Deno](https://deno.land/) yang terpasang. Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
||||||
|
|
||||||
- The current directory contains a `deno.json`, `deno.jsonc`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
- The current directory contains a `deno.json`, `deno.jsonc`, `deno.lock`, `mod.ts`, `mod.js`, `deps.ts` or `deps.js` file
|
||||||
|
|
||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| ------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------- |
|
||||||
| `format` | `'via [$symbol($version )]($style)'` | Format dari modul. |
|
| `format` | `'via [$symbol($version )]($style)'` | Format dari modul. |
|
||||||
| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🦕 '` | Sebuah format string yang melambangkan simbol Deno |
|
| `symbol` | `'🦕 '` | Sebuah format string yang melambangkan simbol Deno |
|
||||||
| `detect_extensions` | `[]` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
| `detect_extensions` | `[]` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
||||||
| `detect_files` | `['deno.json', 'deno.jsonc', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | filenames mana yang sebaiknya memicu modul ini. |
|
| `detect_files` | `['deno.json', 'deno.jsonc', 'deno.lock', 'mod.ts', 'mod.js', 'deps.ts', 'deps.js']` | filenames mana yang sebaiknya memicu modul ini. |
|
||||||
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. |
|
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. |
|
||||||
| `style` | `'green bold'` | Gaya penataan untuk modul. |
|
| `style` | `'green bold'` | Gaya penataan untuk modul. |
|
||||||
| `disabled` | `false` | Menonaktifkan modul `deno`. |
|
| `disabled` | `false` | Menonaktifkan modul `deno`. |
|
||||||
@@ -1117,7 +1115,7 @@ Sebagai contoh, untuk `~/Dev/Nix/nixpkgs/pkgs` dimana `nixpkgs` merupakan root r
|
|||||||
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
| `fish_style_pwd_dir_length` | `0` | The number of characters to use when applying fish shell pwd path logic. |
|
||||||
| `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. |
|
| `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.
|
`substitutions` allows you to define arbitrary replacements for literal strings that occur in the path, for example long network prefixes or development directories of Java. Note that this will disable the fish style PWD.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[directory.substitutions]
|
[directory.substitutions]
|
||||||
@@ -1170,7 +1168,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| ------------------- | -------------------------------------- | ----------------------------------------------------- |
|
| ------------------- | -------------------------------------- | ------------------------------------------------------- |
|
||||||
| `format` | `'[$symbol$loaded/$allowed]($style) '` | Format dari modul. |
|
| `format` | `'[$symbol$loaded/$allowed]($style) '` | Format dari modul. |
|
||||||
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
| `symbol` | `'direnv '` | The symbol used before displaying the direnv context. |
|
||||||
| `style` | `'bold orange'` | Gaya penataan untuk modul. |
|
| `style` | `'bold orange'` | Gaya penataan untuk modul. |
|
||||||
@@ -1178,6 +1176,7 @@ The `direnv` module shows the status of the current rc file if one is present. T
|
|||||||
| `detect_extensions` | `[]` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
| `detect_extensions` | `[]` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
||||||
| `detect_files` | `['.envrc']` | filenames mana yang sebaiknya memicu modul ini. |
|
| `detect_files` | `['.envrc']` | filenames mana yang sebaiknya memicu modul ini. |
|
||||||
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. |
|
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. |
|
||||||
|
| `detect_env_vars` | `['DIRENV_FILE']` | Which environment variables should trigger this module. |
|
||||||
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
| `allowed_msg` | `'allowed'` | The message displayed when an rc file is allowed. |
|
||||||
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
| `not_allowed_msg` | `'not allowed'` | The message displayed when an rc file is not_allowed. |
|
||||||
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
| `denied_msg` | `'denied'` | The message displayed when an rc file is denied. |
|
||||||
@@ -1207,7 +1206,7 @@ disabled = false
|
|||||||
|
|
||||||
## Docker Context
|
## Docker Context
|
||||||
|
|
||||||
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_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
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 `desktop-linux`, or if the `DOCKER_MACHINE_NAME`, `DOCKER_HOST` or `DOCKER_CONTEXT` environment variables are set (as they are meant to override the context in use).
|
||||||
|
|
||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
@@ -1890,7 +1889,7 @@ The Git Status module is very slow in Windows directories (for example under `/m
|
|||||||
| `staged` | `'+'` | The format of `staged` |
|
| `staged` | `'+'` | The format of `staged` |
|
||||||
| `renamed` | `'»'` | The format of `renamed` |
|
| `renamed` | `'»'` | The format of `renamed` |
|
||||||
| `deleted` | `'✘'` | The format of `deleted` |
|
| `deleted` | `'✘'` | The format of `deleted` |
|
||||||
| `typechanged` | `""` | The format of `typechange` |
|
| `typechanged` | `""` | The format of `typechanged` |
|
||||||
| `style` | `'bold red'` | Gaya penataan untuk modul. |
|
| `style` | `'bold red'` | Gaya penataan untuk modul. |
|
||||||
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
| `ignore_submodules` | `false` | Ignore changes to submodules. |
|
||||||
| `disabled` | `false` | Disables the `git_status` module. |
|
| `disabled` | `false` | Disables the `git_status` module. |
|
||||||
@@ -1911,7 +1910,7 @@ The following variables can be used in `format`:
|
|||||||
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
| `staged` | Displays `staged` when a new file has been added to the staging area. |
|
||||||
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
| `renamed` | Displays `renamed` when a renamed file has been added to the staging area. |
|
||||||
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
| `deleted` | Displays `deleted` when a file's deletion has been added to the staging area. |
|
||||||
| `typechanged` | Displays `typechange` when a file's type has been changed in the staging area. |
|
| `typechanged` | Displays `typechanged` when a file's type has been changed in the staging area. |
|
||||||
| style\* | Menyalin nilai dari opsi `style` |
|
| style\* | Menyalin nilai dari opsi `style` |
|
||||||
|
|
||||||
*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string
|
*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string
|
||||||
@@ -2257,6 +2256,7 @@ The `hostname` module shows the system hostname.
|
|||||||
| `fromat` | `'[$ssh_symbol$hostname]($style) in '` | Format dari modul. |
|
| `fromat` | `'[$ssh_symbol$hostname]($style) in '` | Format dari modul. |
|
||||||
| `style` | `'bold dimmed green'` | Gaya penataan untuk modul. |
|
| `style` | `'bold dimmed green'` | Gaya penataan untuk modul. |
|
||||||
| `disabled` | `false` | Disables the `hostname` module. |
|
| `disabled` | `false` | Disables the `hostname` module. |
|
||||||
|
| `aliases` | `{}` | Translate system hostnames to something else. If `trim_at` is specified, only the first part will be matched and replaced. |
|
||||||
|
|
||||||
### Variabel
|
### Variabel
|
||||||
|
|
||||||
@@ -2293,6 +2293,14 @@ detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|||||||
disabled = false
|
disabled = false
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Replace the hostname with a nickname
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
[hostname]
|
||||||
|
aliases = { "Max's MacBook Pro" = "home" }
|
||||||
|
```
|
||||||
|
|
||||||
## Java
|
## Java
|
||||||
|
|
||||||
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
The `java` module shows the currently installed version of [Java](https://www.oracle.com/java/). Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
||||||
@@ -2809,6 +2817,41 @@ truncation_length = 4
|
|||||||
truncation_symbol = ''
|
truncation_symbol = ''
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Mojo
|
||||||
|
|
||||||
|
The `mojo` module shows the current version of [Mojo programming language](https://www.modular.com/mojo) installed
|
||||||
|
|
||||||
|
### Opsi
|
||||||
|
|
||||||
|
| Opsi | Bawaan | Deskripsi |
|
||||||
|
| ------------------- | ------------------------------------- | ------------------------------------------------------ |
|
||||||
|
| `fromat` | `'with [$symbol($version )]($style)'` | Format dari modul. |
|
||||||
|
| `symbol` | `'🔥 '` | The symbol used before displaying the version of Mojo. |
|
||||||
|
| `style` | `'bold 208'` | Gaya penataan untuk modul. |
|
||||||
|
| `disabled` | `false` | Disables the `mojo` module. |
|
||||||
|
| `detect_extensions` | `['mojo', '🔥']` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
||||||
|
| `detect_files` | `[]` | filenames mana yang sebaiknya memicu modul ini. |
|
||||||
|
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini. |
|
||||||
|
|
||||||
|
### Variabel
|
||||||
|
|
||||||
|
| Variabel | Contoh | Deskripsi |
|
||||||
|
| --------- | -------- | --------------------------------- |
|
||||||
|
| version | `24.4.0` | The version of `mojo` |
|
||||||
|
| symbol | | Menyalin nilai dari opsi `symbol` |
|
||||||
|
| style\* | | Menyalin nilai dari opsi `style` |
|
||||||
|
|
||||||
|
*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string
|
||||||
|
|
||||||
|
### Contoh
|
||||||
|
|
||||||
|
```toml
|
||||||
|
# ~/.config/starship.toml
|
||||||
|
|
||||||
|
[mojo]
|
||||||
|
format = 'via [mojo ($version )($hash )]($style)'
|
||||||
|
```
|
||||||
|
|
||||||
## NATS
|
## NATS
|
||||||
|
|
||||||
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
The `nats` module shows the name of the current [NATS](https://nats.io) context.
|
||||||
@@ -2935,12 +2978,12 @@ The `nodejs` module shows the currently installed version of [Node.js](https://n
|
|||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| ------------------- | ------------------------------------------ | ----------------------------------------------------------------------------------------------------- |
|
| ------------------- | --------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
|
||||||
| `fromat` | `'via [$symbol($version )]($style)'` | Format dari modul. |
|
| `fromat` | `'via [$symbol($version )]($style)'` | Format dari modul. |
|
||||||
| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
| `symbol` | `' '` | A format string representing the symbol of Node.js. |
|
||||||
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
| `detect_extensions` | `['js', 'mjs', 'cjs', 'ts', 'mts', 'cts']` | Ekstensi mana yang sebaiknya memicu modul ini. |
|
||||||
| `detect_files` | `['package.json', '.node-version']` | filenames mana yang sebaiknya memicu modul ini. |
|
| `detect_files` | `['package.json', '.node-version', '.nvmrc']` | filenames mana yang sebaiknya memicu modul ini. |
|
||||||
| `detect_folders` | `['node_modules']` | Folder mana yang sebaiknya memicul modul ini. |
|
| `detect_folders` | `['node_modules']` | Folder mana yang sebaiknya memicul modul ini. |
|
||||||
| `style` | `'bold green'` | Gaya penataan untuk modul. |
|
| `style` | `'bold green'` | Gaya penataan untuk modul. |
|
||||||
| `disabled` | `false` | Disables the `nodejs` module. |
|
| `disabled` | `false` | Disables the `nodejs` module. |
|
||||||
@@ -3015,7 +3058,7 @@ format = 'via [🐪 $version]($style) '
|
|||||||
|
|
||||||
## Odin
|
## Odin
|
||||||
|
|
||||||
The 'odin' module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
The `odin` module shows the currently installed version of [Odin](https://odin-lang.org/). By default the module will be shown if the current directory contains a `.odin` file.
|
||||||
|
|
||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
@@ -3159,6 +3202,7 @@ Amazon = "🙂 "
|
|||||||
Android = "🤖 "
|
Android = "🤖 "
|
||||||
Arch = "🎗️ "
|
Arch = "🎗️ "
|
||||||
Artix = "🎗️ "
|
Artix = "🎗️ "
|
||||||
|
CachyOS = "🎗️ "
|
||||||
CentOS = "💠 "
|
CentOS = "💠 "
|
||||||
Debian = "🌀 "
|
Debian = "🌀 "
|
||||||
DragonFly = "🐉 "
|
DragonFly = "🐉 "
|
||||||
@@ -3180,6 +3224,7 @@ MidnightBSD = "🌘 "
|
|||||||
Mint = "🌿 "
|
Mint = "🌿 "
|
||||||
NetBSD = "🚩 "
|
NetBSD = "🚩 "
|
||||||
NixOS = "❄️ "
|
NixOS = "❄️ "
|
||||||
|
Nobara = "🎩 "
|
||||||
OpenBSD = "🐡 "
|
OpenBSD = "🐡 "
|
||||||
OpenCloudOS = "☁️ "
|
OpenCloudOS = "☁️ "
|
||||||
openEuler = "🦉 "
|
openEuler = "🦉 "
|
||||||
@@ -3196,6 +3241,7 @@ SUSE = "🦎 "
|
|||||||
Ubuntu = "🎯 "
|
Ubuntu = "🎯 "
|
||||||
Ultramarine = "🔷 "
|
Ultramarine = "🔷 "
|
||||||
Unknown = "❓ "
|
Unknown = "❓ "
|
||||||
|
Uos = "🐲 "
|
||||||
Void = " "
|
Void = " "
|
||||||
Windows = "🪟 "
|
Windows = "🪟 "
|
||||||
```
|
```
|
||||||
@@ -3492,13 +3538,15 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
- Direktori ini memiliki berkas `requirements.txt`
|
- Direktori ini memiliki berkas `requirements.txt`
|
||||||
- Direktori ini memiliki berkas `setup.py`
|
- Direktori ini memiliki berkas `setup.py`
|
||||||
- Direktori ini memiliki berkas `tox.ini`
|
- Direktori ini memiliki berkas `tox.ini`
|
||||||
|
- Direktori ini memiliki berkas `pixi.toml`
|
||||||
- The current directory contains a file with the `.py` extension.
|
- The current directory contains a file with the `.py` extension.
|
||||||
|
- The current directory contains a file with the `.ipynb` extension.
|
||||||
- A virtual environment is currently activated
|
- A virtual environment is currently activated
|
||||||
|
|
||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| -------------------- | ------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- |
|
| -------------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
|
||||||
| `fromat` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Format dari modul. |
|
| `fromat` | `'via [${symbol}${pyenv_prefix}(${version} )(\($virtualenv\) )]($style)'` | Format dari modul. |
|
||||||
| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` |
|
| `version_format` | `'v${raw}'` | Format dari versi. Variabel yang tersedia adalah `raw`, `major`, `minor`, & `patch` |
|
||||||
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
| `symbol` | `'🐍 '` | A format string representing the symbol of Python |
|
||||||
@@ -3506,8 +3554,8 @@ By default, the module will be shown if any of the following conditions are met:
|
|||||||
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
| `pyenv_version_name` | `false` | Use pyenv to get Python version |
|
||||||
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
| `pyenv_prefix` | `'pyenv'` | Prefix before pyenv version display, only used if pyenv is used |
|
||||||
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
| `python_binary` | `['python', 'python3', 'python2']` | Configures the python binaries that Starship should executes when getting the version. |
|
||||||
| `detect_extensions` | `['py']` | Ekstensi mana yang sebaiknya memicu modul ini |
|
| `detect_extensions` | `['py', 'ipynb']` | Ekstensi mana yang sebaiknya memicu modul ini |
|
||||||
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini']` | filenames mana yang sebaiknya memicu modul ini |
|
| `detect_files` | `['.python-version', 'Pipfile', '__init__.py', 'pyproject.toml', 'requirements.txt', 'setup.py', 'tox.ini', 'pixi.toml']` | filenames mana yang sebaiknya memicu modul ini |
|
||||||
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini |
|
| `detect_folders` | `[]` | Folder mana yang sebaiknya memicul modul ini |
|
||||||
| `disabled` | `false` | Disables the `python` module. |
|
| `disabled` | `false` | Disables the `python` module. |
|
||||||
|
|
||||||
@@ -4050,7 +4098,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
### Opsi
|
### Opsi
|
||||||
|
|
||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| --------------------------- | ---------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
| --------------------------- | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
|
||||||
| `fromat` | `'[$symbol$status]($style) '` | The format of the module |
|
| `fromat` | `'[$symbol$status]($style) '` | The format of the module |
|
||||||
| `symbol` | `'❌'` | The symbol displayed on program error |
|
| `symbol` | `'❌'` | The symbol displayed on program error |
|
||||||
| `success_symbol` | `''` | The symbol displayed on program success |
|
| `success_symbol` | `''` | The symbol displayed on program success |
|
||||||
@@ -4059,18 +4107,20 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
| `sigint_symbol` | `'🧱'` | The symbol displayed on SIGINT (Ctrl + c) |
|
||||||
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
| `signal_symbol` | `'⚡'` | The symbol displayed on any signal |
|
||||||
| `style` | `'bold red'` | Gaya penataan untuk modul. |
|
| `style` | `'bold red'` | Gaya penataan untuk modul. |
|
||||||
|
| `success_style` | | The style used on program success (defaults to `style` if unset). |
|
||||||
|
| `failure_style` | | The style used on program failure (defaults to `style` if unset). |
|
||||||
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
| `recognize_signal_code` | `true` | Enable signal mapping from exit code |
|
||||||
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
| `map_symbol` | `false` | Enable symbols mapping from exit code |
|
||||||
| `pipestatus` | `false` | Enable pipestatus reporting |
|
| `pipestatus` | `false` | Enable pipestatus reporting |
|
||||||
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
| `pipestatus_separator` | <code>|</code> | The symbol used to separate pipestatus segments (supports formatting) |
|
||||||
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style)'` | The format of the module when the command is a pipeline |
|
| `pipestatus_format` | `'\[$pipestatus\] => [$symbol$common_meaning$signal_name$maybe_int]($style) '` | The format of the module when the command is a pipeline |
|
||||||
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
| `pipestatus_segment_format` | | When specified, replaces `format` when formatting pipestatus segments |
|
||||||
| `disabled` | `true` | Disables the `status` module. |
|
| `disabled` | `true` | Disables the `status` module. |
|
||||||
|
|
||||||
### Variabel
|
### Variabel
|
||||||
|
|
||||||
| Variabel | Contoh | Deskripsi |
|
| Variabel | Contoh | Deskripsi |
|
||||||
| -------------- | ------- | ------------------------------------------------------------------------------------------ |
|
| -------------- | ------- | -------------------------------------------------------------------------------------------- |
|
||||||
| status | `127` | The exit code of the last command |
|
| status | `127` | The exit code of the last command |
|
||||||
| hex_status | `0x7F` | The exit code of the last command in hex |
|
| hex_status | `0x7F` | The exit code of the last command in hex |
|
||||||
| int | `127` | The exit code of the last command |
|
| int | `127` | The exit code of the last command |
|
||||||
@@ -4080,7 +4130,7 @@ This module is disabled by default. To enable it, set `disabled` to `false` in y
|
|||||||
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
| maybe_int | `7` | Contains the exit code number when no meaning has been found |
|
||||||
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
| pipestatus | | Rendering of in pipeline programs' exit codes, this is only available in pipestatus_format |
|
||||||
| symbol | | Menyalin nilai dari opsi `symbol` |
|
| symbol | | Menyalin nilai dari opsi `symbol` |
|
||||||
| style\* | | Menyalin nilai dari opsi `style` |
|
| style\* | | Mirrors the value of option `success_style` on program success and `failure_style` otherwise |
|
||||||
|
|
||||||
*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string
|
*: Variabel tersebut hanya dapat digunakan sebagai bagian dari penataan string
|
||||||
|
|
||||||
@@ -4350,7 +4400,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
| `fromat` | `'[$user]($style) in '` | Format dari modul. |
|
| `fromat` | `'[$user]($style) in '` | Format dari modul. |
|
||||||
| `show_always` | `false` | Always shows the `username` module. |
|
| `show_always` | `false` | Always shows the `username` module. |
|
||||||
| `disabled` | `false` | Disables the `username` module. |
|
| `disabled` | `false` | Disables the `username` module. |
|
||||||
| `aliases` | `{}` | Translate system usernames to something else |
|
| `aliases` | `{}` | Translate system usernames to something else. |
|
||||||
|
|
||||||
### Variabel
|
### Variabel
|
||||||
|
|
||||||
@@ -4361,7 +4411,7 @@ SSH connection is detected by checking environment variables `SSH_CONNECTION`, `
|
|||||||
|
|
||||||
### Contoh
|
### Contoh
|
||||||
|
|
||||||
#### Always show the hostname
|
#### Always show the username
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# ~/.config/starship.toml
|
# ~/.config/starship.toml
|
||||||
@@ -4375,17 +4425,6 @@ show_always = true
|
|||||||
aliases = { "corpuser034g" = "matchai" }
|
aliases = { "corpuser034g" = "matchai" }
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Hide the hostname in remote tmux sessions
|
|
||||||
|
|
||||||
```toml
|
|
||||||
# ~/.config/starship.toml
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
ssh_only = false
|
|
||||||
detect_env_vars = ['!TMUX', 'SSH_CONNECTION']
|
|
||||||
disabled = false
|
|
||||||
```
|
|
||||||
|
|
||||||
## Vagrant
|
## Vagrant
|
||||||
|
|
||||||
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
The `vagrant` module shows the currently installed version of [Vagrant](https://www.vagrantup.com/). Secara bawaan, modul akan aktif jika beberapa syarat berikut telah terpenuhi:
|
||||||
@@ -4573,7 +4612,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
| Opsi | Bawaan | Deskripsi |
|
| Opsi | Bawaan | Deskripsi |
|
||||||
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------------------- | ------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
| `command` | `''` | The command whose output should be printed. The command will be passed on stdin to the shell. |
|
||||||
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the command returns a `0` status code. |
|
| `when` | `false` | Either a boolean value (`true` or `false`, without quotes) or a string shell command used as a condition to show the module. In case of a string, the module will be shown if the `shell` returns a `0` status code from executing it. |
|
||||||
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
| `require_repo` | `false` | If `true`, the module will only be shown in paths containing a (git) repository. This option alone is not sufficient display condition in absence of other options. |
|
||||||
| `shell` | | [See below](#custom-command-shell) |
|
| `shell` | | [See below](#custom-command-shell) |
|
||||||
| `deskripsi` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
| `deskripsi` | `'<custom module>'` | The description of the module that is shown when running `starship explain`. |
|
||||||
@@ -4593,7 +4632,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
| Variabel | Deskripsi |
|
| Variabel | Deskripsi |
|
||||||
| --------- | -------------------------------------- |
|
| --------- | -------------------------------------- |
|
||||||
| output | The output of shell command in `shell` |
|
| output | The output of `command` run in `shell` |
|
||||||
| symbol | Menyalin nilai dari opsi `symbol` |
|
| symbol | Menyalin nilai dari opsi `symbol` |
|
||||||
| style\* | Menyalin nilai dari opsi `style` |
|
| style\* | Menyalin nilai dari opsi `style` |
|
||||||
|
|
||||||
@@ -4608,7 +4647,7 @@ Format strings can also contain shell specific prompt sequences, e.g. [Bash](htt
|
|||||||
|
|
||||||
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
If unset, it will fallback to STARSHIP_SHELL and then to 'sh' on Linux, and 'cmd /C' on Windows.
|
||||||
|
|
||||||
The `command` will be passed in on stdin.
|
The `command` (and `when`, if applicable) will be passed in on stdin.
|
||||||
|
|
||||||
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
If `shell` is not given or only contains one element and Starship detects PowerShell will be used, the following arguments will automatically be added: `-NoProfile -Command -`. If `shell` is not given or only contains one element and Starship detects Cmd will be used, the following argument will automatically be added: `/C` and `stdin` will be set to `false`. If `shell` is not given or only contains one element and Starship detects Nushell will be used, the following arguments will automatically be added: `-c` and `stdin` will be set to `false`. This behavior can be avoided by explicitly passing arguments to the shell, e.g.
|
||||||
|
|
||||||
|
|||||||
+14
-11
@@ -338,20 +338,14 @@ eval $(starship init ion)
|
|||||||
<details>
|
<details>
|
||||||
<summary>Nushell</summary>
|
<summary>Nushell</summary>
|
||||||
|
|
||||||
Tambahkan baris berikut di akhir env file Nushell anda (dengan menjalankan `$nu.env-path` di Nushell):
|
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
mkdir ~/.cache/starship
|
mkdir ($nu.data-dir | path join "vendor/autoload")
|
||||||
starship init nu | save -f ~/.cache/starship/init.nu
|
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
|
||||||
```
|
```
|
||||||
|
|
||||||
Lalu tambahkan baris berikut di baris terakhir konfigurasi Nushell (temukan dengan menjalankan `$nu.config-path`):
|
Note: Only Nushell v0.96+ is supported
|
||||||
|
|
||||||
```sh
|
|
||||||
use ~/.cache/starship/init.nu
|
|
||||||
```
|
|
||||||
|
|
||||||
Note: Only Nushell v0.78+ is supported
|
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
@@ -431,7 +425,16 @@ Please check out these previous works that helped inspire the creation of starsh
|
|||||||
|
|
||||||
Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website.
|
Support this project by [becoming a sponsor](https://github.com/sponsors/starship). Your name or logo will show up here with a link to your website.
|
||||||
|
|
||||||
- Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org)
|
## 🔒 Code Signing Policy
|
||||||
|
|
||||||
|
Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org).
|
||||||
|
|
||||||
|
Code Signing Roles:
|
||||||
|
|
||||||
|
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
|
||||||
|
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
|
||||||
|
|
||||||
|
This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<br>
|
<br>
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user