Compare commits

...

254 Commits

Author SHA1 Message Date
github-actions[bot] 378f3e42be chore(master): release 1.24.1 (#7122)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-11-16 12:48:40 +01:00
David Knaack d6daf8a4e1 fix: improve timeout warning message in the directory scanner (#7120) 2025-11-16 12:47:43 +01:00
David Knaack 5736b481e2 Revert "fix: consider text-only meta variables in conditionals set if non-empty (#6338)" (#7103)
This reverts commit 286b0f2be3.
2025-11-16 11:42:27 +01:00
David Knaack 7795bab3bd fix(fish): fix job counting (#7082) 2025-11-16 11:40:56 +01:00
David Knaack f143aed72a ci: replace google-github-actions/release-please-action with googleapis (#7050)
ci: replace google-github-actions/release-please-action with googleapis/release-please-action
2025-11-16 11:40:01 +01:00
renovate[bot] 2f816f1e6e build(deps): update crate-ci/typos action to v1.39.2 (#7118)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-14 05:42:48 +00:00
renovate[bot] a71606d2bb build(deps): update rust crate os_info to 3.13.0 2025-11-13 12:01:01 +00:00
renovate[bot] 47de63ed66 build(deps): update crate-ci/typos action to v1.39.1 (#7116)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-13 05:14:37 +00:00
renovate[bot] 1ec0941bf0 build(deps): update rust crate jsonc-parser to 0.27.1 2025-11-12 21:42:51 +00:00
renovate[bot] 3b78de84ae build(deps): update rust crate quick-xml to 0.38.4 2025-11-12 01:08:05 +00:00
renovate[bot] 53f1ac9d92 build(deps): update rust crate schemars to 1.1.0 2025-11-05 22:03:45 +00:00
renovate[bot] c0206cd0f5 build(deps): update rust crate schemars to 1.0.5 (#7095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-03 04:59:29 +00:00
renovate[bot] 10b67d50dc build(deps): update dependency dprint/dprint-plugin-typescript to v0.95.12 2025-11-03 00:51:22 +00:00
Jaehyun Yeom dbbc4ca293 docs: Update Termux installation instructions (#7083) 2025-11-02 20:15:14 +01:00
renovate[bot] 5d48bbf11d build(deps): update rust crate starship-battery to 0.10.3 (#7079)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-11-01 14:33:19 +00:00
renovate[bot] a22fdfb7d4 build(deps): update crate-ci/typos action to v1.39.0 (#7090)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-31 18:02:46 +00:00
renovate[bot] 6a42b09258 build(deps): update rust crate clap_complete_nushell to 4.5.10 (#7089)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-31 18:02:29 +00:00
David Knaack 60b49f0dab ci(docs): fix netlify docs publishing (#7074) 2025-10-31 19:01:57 +01:00
renovate[bot] 408a7c05e1 build(deps): update clap crates 2025-10-30 02:40:47 +00:00
renovate[bot] 6817c0f255 build(deps): update dependency node to v22.21.1 2025-10-29 02:42:22 +00:00
renovate[bot] e6eef15a72 build(deps): update dprint plugins 2025-10-27 01:58:38 +00:00
Segev Finer 1bf73f7baf docs: Add $schema line to all presets (#7072) 2025-10-27 00:23:20 +09:00
Matan Kushner 3c366dc87a docs(i18n): new Crowdin updates (#6716)
* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Japanese)

* New translations readme.md (Ukrainian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Ukrainian)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (Spanish)

* New translations readme.md (Spanish)

* New translations readme.md (Spanish)

* New translations readme.md (Spanish)

* New translations readme.md (Spanish)

* New translations readme.md (Ukrainian)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (Ukrainian)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations tokyo-night.md (Chinese Traditional)

* New translations gruvbox-rainbow.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations bracketed-segments.md (Chinese Traditional)

* New translations nerd-font.md (Chinese Traditional)

* New translations no-runtimes.md (Chinese Traditional)

* New translations plain-text.md (Chinese Traditional)

* New translations pure-preset.md (Chinese Traditional)

* New translations pastel-powerline.md (Chinese Traditional)

* New translations no-nerd-font.md (Chinese Traditional)

* New translations no-empty-icons.md (Chinese Traditional)

* New translations gruvbox-rainbow.md (Chinese Traditional)

* New translations jetpack.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Portuguese, Brazilian)

* New translations jetpack.md (Portuguese, Brazilian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (French)

* New translations pure-preset.md (French)

* New translations tokyo-night.md (French)

* New translations readme.md (Spanish)

* New translations pure-preset.md (Spanish)

* New translations tokyo-night.md (Spanish)

* New translations readme.md (Arabic)

* New translations pure-preset.md (Arabic)

* New translations tokyo-night.md (Arabic)

* New translations readme.md (German)

* New translations pure-preset.md (German)

* New translations tokyo-night.md (German)

* New translations readme.md (Italian)

* New translations pure-preset.md (Italian)

* New translations tokyo-night.md (Italian)

* New translations readme.md (Japanese)

* New translations pure-preset.md (Japanese)

* New translations tokyo-night.md (Japanese)

* New translations readme.md (Korean)

* New translations pure-preset.md (Korean)

* New translations tokyo-night.md (Korean)

* New translations readme.md (Dutch)

* New translations pure-preset.md (Dutch)

* New translations tokyo-night.md (Dutch)

* New translations readme.md (Norwegian)

* New translations pure-preset.md (Norwegian)

* New translations tokyo-night.md (Norwegian)

* New translations readme.md (Polish)

* New translations pure-preset.md (Polish)

* New translations tokyo-night.md (Polish)

* New translations readme.md (Portuguese)

* New translations pure-preset.md (Portuguese)

* New translations tokyo-night.md (Portuguese)

* New translations readme.md (Russian)

* New translations pure-preset.md (Russian)

* New translations tokyo-night.md (Russian)

* New translations readme.md (Turkish)

* New translations pure-preset.md (Turkish)

* New translations tokyo-night.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations pure-preset.md (Ukrainian)

* New translations tokyo-night.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations pure-preset.md (Chinese Simplified)

* New translations tokyo-night.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations pure-preset.md (Chinese Traditional)

* New translations tokyo-night.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations pure-preset.md (Vietnamese)

* New translations tokyo-night.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations pure-preset.md (Portuguese, Brazilian)

* New translations tokyo-night.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations pure-preset.md (Indonesian)

* New translations tokyo-night.md (Indonesian)

* New translations readme.md (Bengali)

* New translations pure-preset.md (Bengali)

* New translations tokyo-night.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations pure-preset.md (Sorani (Kurdish))

* New translations tokyo-night.md (Sorani (Kurdish))

* New translations readme.md (Ukrainian)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Arabic)

* New translations readme.md (Japanese)

* New translations readme.md (Norwegian)

* New translations readme.md (Turkish)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (French)

* New translations readme.md (Korean)

* New translations readme.md (Korean)

* New translations readme.md (Korean)

* New translations readme.md (Korean)

* New translations catppuccin-powerline.md (Korean)
2025-10-25 20:33:44 +09:00
github-actions[bot] 083870239e chore(master): release 1.24.0 (#6729)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-10-25 13:32:52 +02:00
Justin Su 8f263209c3 docs(shlvl): fix repeat example (#6825)
* docs(shlvl): fix repeat example

`$shlvl` needs to be removed from `format` to have a prompt like `❯❯❯`

* docs(shlvl): remove redundant `threshold = 0` in repeat example
2025-10-25 13:08:59 +02:00
renovate[bot] 3e58ce8ee5 build(deps): lock file maintenance 2025-10-25 08:32:41 +00:00
renovate[bot] c8dcc8ffb1 build(deps): update rust crate gix to 0.74.1 (#7068)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-25 08:22:09 +00:00
renovate[bot] 56c8d063e2 build(deps): update crate-ci/typos action to v1.38.1 (#7006) 2025-10-25 10:20:45 +02:00
Tyler Quiring 699a005c0d docs: Update elvish configuration description (#7054) 2025-10-25 09:43:19 +02:00
renovate[bot] b7dea479eb build(deps): update signpath/github-action-submit-signing-request action to v2 (#7062)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-25 09:42:08 +02:00
renovate[bot] 6a604b4671 build(deps): update rust crate gix to 0.74.0 (#7061)
* build(deps): update rust crate gix to 0.74.0

* chore: fix for enum change

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2025-10-25 09:41:49 +02:00
David Knaack 8258063791 chore: handle current compiler & clippy warnings (#7051) 2025-10-25 09:41:31 +02:00
renovate[bot] fe4abb605f build(deps): update github artifact actions (major) (#7066)
build(deps): update github artifact actions

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-25 09:10:33 +02:00
renovate[bot] 3749d67025 build(deps): update rust crate home to 0.5.12 2025-10-24 05:37:44 +00:00
Lucas Colley ef5227eeaf feat(package): pyproject hatchling dynamic version (#6656) 2025-10-21 20:19:00 +02:00
Adrian Mysak 90d8c4a256 feat: Fortran module (#6685)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2025-10-21 20:17:08 +02:00
Justin Su 3b5bbe3566 fix(preset/nerd-font): remove double spaces in gcloud default value and use Google Cloud-specific icon (#6822) 2025-10-21 20:15:54 +02:00
Iain Lane 583031e597 test(print): prevent environment leakage in prompt tests (#6835) 2025-10-21 20:14:49 +02:00
Cason Kervis 49eb281441 docs(preset/bracketed): cover additional modules (#6950)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2025-10-21 20:13:25 +02:00
Louis Stenger e5933327d7 fix(presets/plaint-text): Add missing entries (#6929) 2025-10-21 20:11:28 +02:00
Victor Campello 87b7ac342f feat(git_branch): add ignore_bare_repo flag (#6936) 2025-10-21 20:10:17 +02:00
Anthony Carapetis 5db4ea7878 fix(time): don't print misleading log message (#7008)
This module is now outputting the warning message 'Invalid utc_time_offset
configuration provided! Falling back to "local".' when
`utc_time_offset` is actually set to "local" (which is the default
value). Looks like this check for "local" was lost during a refactor.
2025-10-21 20:05:06 +02:00
fankex 4caee4a7ca feat(cli): accept 'powershell' for completions subcommand (#7028)
---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-21 20:03:15 +02:00
Chia-Ming 31d890cb7c docs(presets): fix incorrect "Return to Presets" anchor links (#7041) 2025-10-21 20:00:09 +02:00
renovate[bot] b9c68930a5 build(deps): update actions/setup-node action to v6 (#7057)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 19:55:36 +02:00
renovate[bot] a64823d45e build(deps): lock file maintenance (#6997)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 17:35:10 +00:00
renovate[bot] 06fa704aed build(deps): update rust crate shadow-rs to 1.4.0 (#7023)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 17:34:55 +00:00
renovate[bot] 2cc2b49bfc build(deps): update rust crate jsonc-parser to 0.27.0 (#7058)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 08:35:37 +00:00
renovate[bot] bd7948f3e1 build(deps): update toml crates (#6988)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 08:35:16 +00:00
renovate[bot] 0b525753ce build(deps): update dependency node to v22.21.0 (#7001)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 06:33:31 +00:00
renovate[bot] 7b8f747050 build(deps): update rust crate indexmap to 2.12.0 (#7055)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 05:09:20 +00:00
renovate[bot] a94c4b7e6a build(deps): update rust crate unicode-width to 0.2.2 (#7056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 05:08:57 +00:00
renovate[bot] bd176e3482 build(deps): update rust crate tempfile to 3.23.0 (#6998)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 00:51:33 +00:00
renovate[bot] a8de3fe4e9 build(deps): update rust crate regex to 1.12.2 (#7004)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-21 00:51:02 +00:00
renovate[bot] 551a7ed8da build(deps): update rust crate parking_lot to 0.12.5 (#7053)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 21:11:06 +00:00
renovate[bot] a3cf8dab4e build(deps): update rust crate nu-ansi-term to 0.50.3 (#7052)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 21:10:50 +00:00
renovate[bot] 32b58831a6 build(deps): update rust crate windows to 0.62.2 (#7005)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 17:41:13 +00:00
renovate[bot] 231c9465ea build(deps): update pest crates to 2.8.3 (#7049)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 17:40:11 +00:00
renovate[bot] 7e056a0a67 build(deps): update rust crate serde to 1.0.228 (#6994)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 17:29:29 +00:00
renovate[bot] 2c1f0effcc build(deps): update clap crates (#6992)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-10-20 17:28:40 +00:00
David Knaack 598daae259 ci(windows): install hg for tests (#6993) 2025-10-20 19:05:29 +02:00
Robin Neatherway f7d583821a docs(kubernetes): fix typo environmental in module documentation (#6987) 2025-09-29 19:30:03 +02:00
Tim Ruffing 6526d4bb5e docs(preset/nerd-font): Add symbol for status module (#6676) 2025-09-20 17:02:57 +02:00
renovate[bot] ba32d34f2f build(deps): update rust crate indexmap to 2.11.4 2025-09-18 17:56:12 +00:00
renovate[bot] 652ad88d7d build(deps): update mislav/bump-homebrew-formula-action action to v3.6 2025-09-16 21:27:07 +00:00
renovate[bot] cb2dcf5c50 build(deps): update rust crate serde to 1.0.225 (#6986)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-16 21:26:56 +00:00
renovate[bot] ba5f71baec build(deps): update rust crate indexmap to 2.11.3 (#6983)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-16 17:35:28 +00:00
renovate[bot] eb66076bb6 build(deps): update rust crate clap_complete to 4.5.58 (#6982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-16 17:35:12 +00:00
renovate[bot] db751fe29a build(deps): update toml crates 2025-09-15 19:48:26 +00:00
renovate[bot] 0c1e1dd2d0 build(deps): lock file maintenance (#6980)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 05:52:39 +00:00
renovate[bot] 89567bd527 build(deps): update rust crate yaml-rust2 to 0.10.4 (#6979)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 05:51:06 +00:00
renovate[bot] 58d9e448a4 build(deps): update rust crate serde to 1.0.223 (#6978)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-15 05:50:53 +00:00
renovate[bot] 91e4478782 build(deps): update rust crate semver to 1.0.27 (#6977)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 20:22:06 +00:00
renovate[bot] 0e6cdd5308 build(deps): update rust crate serde_json to 1.0.145 (#6976)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 19:42:28 +00:00
Martin Grigorov 3d5efd039c docs(xmake): correct style color from blue to green (#6974) 2025-09-14 21:41:19 +02:00
renovate[bot] 678ce4758b build(deps): update rust crate serde_json to 1.0.144 (#6973)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-14 10:32:19 +00:00
renovate[bot] e9d6647153 build(deps): update rust crate serde to 1.0.221 2025-09-14 01:27:45 +00:00
Justin Su 15825bee6d docs(presets/nerd-font): fix section ordering in nerd-font-symbols preset (#6821) 2025-09-13 12:01:17 +02:00
David Knaack 286b0f2be3 fix: consider text-only meta variables in conditionals set if non-empty (#6338) 2025-09-13 11:59:36 +02:00
renovate[bot] 95313f83bf build(deps): update pest crates to 2.8.2 (#6971)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-13 04:36:09 +00:00
David Knaack d85ee0a18c build(deps): bump schemars, quick-xml & windows (#6928) 2025-09-11 22:05:38 +02:00
renovate[bot] f04362e84b build(deps): update rust crate tempfile to 3.22.0 2025-09-09 17:11:44 +00:00
renovate[bot] 4ace586699 build(deps): update rust crate indexmap to 2.11.1 2025-09-09 02:39:35 +00:00
renovate[bot] 339b5cf50a build(deps): update reviewdog/action-suggester action to v1.24.0 (#6961)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-08 13:59:34 +00:00
renovate[bot] 113745bb6b build(deps): update rust crate chrono to 0.4.42 2025-09-08 10:55:19 +00:00
renovate[bot] 1afa67096d build(deps): lock file maintenance (#6960)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-08 06:15:02 +00:00
renovate[bot] a34fb05691 build(deps): update dependency dprint/dprint-plugin-typescript to v0.95.11 2025-09-08 01:28:43 +00:00
David Knaack 05daa3e278 fix(git_metrics): adhere to git_status use_git_executable option (#6927) 2025-09-07 21:23:16 +02:00
Meriel Luna Mittelbach a60df1d1fe fix(modules): username detect_env_vars logic (#6934)
problem: `Context::detect_env_vars` is insufficient for the logic used
by the username module, as it cannot differentiate between 'a negated
variable was found' and 'no non-negated variables were found'

solution: Add a `detect_env_vars2` method which returns an enum
`Detected` which can represents the 4 interesting cases:

- `detect_env_vars` is empty
- A negated variable was found
- A non-negated variable was found
- No non-negated variables were found

Fixes #6870
2025-09-07 21:22:32 +02:00
renovate[bot] 590a6b8db8 build(deps): update rust crate process_control to 5.2.0 (#6958)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-07 19:14:49 +00:00
David Knaack 0f5d8d4a4a fix(terraform): amend module to exec_cmds_return_first-changes (#6956) 2025-09-07 21:05:04 +02:00
David Zuelke 38db5f0094 fix(zsh): do not fail under ERR_EXIT conditions if STARSHIP_DURATION computes to 0 (#6922)
Guard against `STARSHIP_DURATION=0`

If an arithmetic expression evaluates to `0`, its exit status is `1`:

> The return status is 0 if the arithmetic value of the expression is non-zero, 1 if it is zero, and 2 if an error occurred.

In rare cases, the subtraction for `STARSHIP_DURATION` can result in an `int(0)` result (yes, really - happens e.g. during `vhs` sessions), which would then kill the shell if `set -e` is in effect.

We therefore have to assign the result outside the expression (using `STARSHIP_DURATION=$((...))`), because unlike regular `(())` arithmetic expressions, a `$(())` arithmetic substitution gets a return status of `0` even if the expression evalues to `int(0)`.

The alternative would be to keep the expression, and ensure it always succeeds, by doing `(( STARSHIP_DURATION = ... )) || true`.

However, the `$(()` approach has the benefit of still bubbling up an error from the arithmetic expression (normally return status `2` as in the documentation quote above; return status `1` in a substitution), which is useful e.g. in the event of undefined variables.
2025-09-06 19:16:03 +02:00
Joey Marianer ef7d8bd442 feat(terraform): support opentofu for terraform version detection (#6910)
Support OpenTofu

This is a revitalization of https://github.com/starship/starship/pull/6072

Co-authored-by: Bojan Rajkovic <brajkovic@coderinserepeat.com>
2025-09-06 19:14:17 +02:00
Ali Nazzal 95bf53f6b9 fix(jobs): Count job groups instead of processes for fish (#6899)
---------

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2025-09-06 19:13:26 +02:00
Kai Sforza 2c11c086b8 fix(explain): Filter out non-printing ANSI escape codes (#6861)
Filter out non-printing ANSI escape codes

The string `\x1b[35;49mkai` is, on the screen, only 3 characters long,
however the `width_graphemes()` function would say that it is 10
characters long. This is only really an issue for `explain`, as it makes
the width of the left column incorrect for the padding. Instead of the
following:

```console
$ starship explain
"/" (<1ms)    - <description>
"kai" (<1ms)  - <description>
```

it would print out like this for any parts that don't use ansi escapes
internally:

```console
"/" (<1ms)           - <description>
"kai" (<1ms)  - <description>
```

This should cause no problems with any of the unstyled lengths that
are generated normally, but any pre-styled strings in `custom` calls
will cause this issue.
2025-09-06 19:12:23 +02:00
SpookyYomo 109a6811ce fix: improve adhere to directory scanning timeout (#6694) 2025-09-06 19:00:30 +02:00
renovate[bot] 11dbaed316 build(deps): update actions/github-script action to v8 (#6952)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 18:42:17 +02:00
renovate[bot] ef2958c61c build(deps): update actions/setup-node action to v5 (#6949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 18:30:34 +02:00
renovate[bot] 521b15da3d build(deps): update reviewdog/action-suggester action to v1.23.1 (#6948)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 12:30:23 +00:00
renovate[bot] 1904f04cf7 build(deps): update crate-ci/typos action to v1.36.2 2025-09-04 16:35:18 +00:00
renovate[bot] 6cd03ba23e build(deps): update rust crate log to 0.4.28 (#6947)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 03:26:04 +00:00
renovate[bot] 6c69011196 build(deps): update crate-ci/typos action to v1.36.1 2025-09-03 20:55:35 +00:00
renovate[bot] ee2a53be4c build(deps): update rust crate clap to 4.5.47 (#6943)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-03 01:36:08 +00:00
renovate[bot] 1aa99c8fa4 build(deps): update crate-ci/typos action to v1.36.0 2025-09-02 16:45:18 +00:00
renovate[bot] dbb32bf62e build(deps): update crate-ci/typos action to v1.35.8 2025-09-02 04:42:28 +00:00
renovate[bot] 6a9fe7d654 build(deps): update reviewdog/action-suggester action to v1.22.0 (#6940)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-31 17:43:25 +00:00
renovate[bot] dc89350e6d build(deps): update dependency node to v22.19.0 (#6939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-31 17:43:13 +00:00
renovate[bot] 386863c70b build(deps): update rust crate rust-ini to 0.21.3 (#6938)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-31 12:34:44 +00:00
renovate[bot] d8ff74bd43 build(deps): update crate-ci/typos action to v1.35.7 (#6937)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-31 12:34:28 +00:00
renovate[bot] d3e9ede789 build(deps): update rust crate shadow-rs to 1.3.0 2025-08-28 21:42:15 +00:00
renovate[bot] 54d99d2565 build(deps): update rust crate clap to 4.5.46 2025-08-26 20:03:25 +00:00
renovate[bot] fe184e6482 build(deps): lock file maintenance (#6930)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-25 06:07:19 +00:00
renovate[bot] e0e6e390ae build(deps): update dependency dprint/dprint-plugin-typescript to v0.95.10 2025-08-25 02:41:44 +00:00
renovate[bot] 2befc8283a build(deps): update rust crate regex to 1.11.2 2025-08-24 14:05:41 +00:00
renovate[bot] c3fb532eff build(deps): update rust crate indexmap to 2.11.0 (#6924)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-22 21:51:10 +00:00
renovate[bot] 57e1926e2d build(deps): update rust crate toml_edit to 0.23.4 2025-08-22 18:27:31 +00:00
renovate[bot] a96b429e02 build(deps): lock file maintenance (#6919)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 20:37:13 +00:00
Steve Smith b698fb0559 fix: rust-ini 0.21.2 has been yanked from crates.io. (#6916) 2025-08-20 12:04:29 +02:00
renovate[bot] 4b3470e9b1 build(deps): update rust crate tempfile to 3.21.0 2025-08-20 01:33:59 +00:00
renovate[bot] f9e3e7411e build(deps): update rust crate serde_json to 1.0.143 2025-08-19 06:40:03 +00:00
renovate[bot] 9074f2b4ca build(deps): update crate-ci/typos action to v1.35.5 2025-08-19 00:46:15 +00:00
-k 07778a8452 feat(package): Add support for Ansible Galaxy (#6905) 2025-08-17 19:52:52 +02:00
Steve Smith 6886ad082c feat(container): Add detection of Incus containers (#6917)
* Add awareness of Incus containers by checking for /dev/incus/sock

* Add test for incus support.

* Apply rustfmt.
2025-08-17 19:51:05 +02:00
Tammo Ippen 26a62372d1 feat(fish): support input-mode detection for helix-keybinds (#6841)
Add KEYMAP for helix key bindings

There is a project providing helix editor keybindings to fish: https://github.com/sshilovsky/fish-helix
2025-08-17 16:55:14 +02:00
jjjjjjj 5dd40ea62f fix(fossil_metrics): match single-file (#6785)
---------

Signed-off-by: kamanberu88 <kousuke.11.2.19@gmail.com>
2025-08-17 16:52:37 +02:00
Sergio Livi f42b53edd8 fix(git_status): Do not show up-to-date when untracked (#6755) 2025-08-17 16:51:34 +02:00
danieleades 3760f29560 style: pedantic refactoring (#6771)
---------

Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2025-08-17 16:51:04 +02:00
Justin Su 6d717b20ae docs(c, cpp): add specific link to file an issue (#6829) 2025-08-17 16:48:29 +02:00
renovate[bot] 547336a5f7 build(deps): update embarkstudios/cargo-deny-action action to v2.0.13 2025-08-14 14:57:48 +00:00
renovate[bot] 1df755159d build(deps): update actions/checkout action to v5 (#6903)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-13 11:02:42 +02:00
renovate[bot] b1036b17c9 build(deps): update rust crate rayon to 1.11.0 2025-08-13 03:28:44 +00:00
renovate[bot] d04851a287 build(deps): update rust crate clap to 4.5.45 (#6908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 20:57:06 +00:00
renovate[bot] c7425e3236 build(deps): update crate-ci/typos action to v1.35.4 2025-08-12 18:21:51 +00:00
renovate[bot] c4630e3389 build(deps): update rust crate terminal_size to 0.4.3 (#6906)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-12 04:12:08 +00:00
renovate[bot] 8b5d12c8a1 build(deps): update clap crates 2025-08-11 22:30:14 +00:00
renovate[bot] 24bc8206d2 build(deps): update rust crate whoami to 1.6.1 2025-08-11 10:37:36 +00:00
renovate[bot] 5563e81bcd build(deps): lock file maintenance (#6900)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-11 04:36:28 +00:00
renovate[bot] f28cbc9e5f build(deps): update dependency vitepress to ^1.6.4 2025-08-11 01:04:07 +00:00
renovate[bot] a2b60950f2 build(deps): update actions/download-artifact action to v5 (#6885)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-10 17:30:10 +02:00
renovate[bot] 5b27951c81 build(deps): update dependency node to v22 (#6897)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-10 17:29:30 +02:00
renovate[bot] 08c24627c3 build(deps): update rust crate clap_complete to 4.5.56 (#6891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-10 13:09:07 +00:00
renovate[bot] e528f545f6 build(deps): update crate-ci/typos action to v1.35.3 (#6890)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-10 13:08:53 +00:00
Siddharth Kumar Jha 32c29cfda7 fix(test/git_commit): avoid spawning an editor lead to timeout if tag signing is enabled (#6887) 2025-08-10 14:12:07 +02:00
Descamil bc48b5fcb0 feat(install.sh): handle installation directory prompt responses case-insensitively (#6866) 2025-08-10 13:21:35 +02:00
renovate[bot] 9db08d2d4d build(deps): update rust crate clap to 4.5.43 2025-08-06 17:39:05 +00:00
renovate[bot] d4e5dfadf2 build(deps): update toml crates (#6883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-05 01:15:37 +00:00
renovate[bot] 4bc9891f04 build(deps): update mislav/bump-homebrew-formula-action action to v3.5 (#6882)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-04 20:47:57 +00:00
renovate[bot] 75e7985c36 build(deps): update crate-ci/typos action to v1.35.1 2025-08-04 17:01:04 +00:00
renovate[bot] 26264b038b build(deps): lock file maintenance (#6880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-04 06:01:27 +00:00
renovate[bot] 613b86202d build(deps): update dependency dprint/dprint-plugin-typescript to v0.95.9 2025-08-04 01:15:35 +00:00
renovate[bot] 2581f8f938 build(deps): update rust crate shadow-rs to 1.2.1 2025-08-01 21:01:29 +00:00
renovate[bot] b120d7e58f build(deps): update rust crate serde_json to 1.0.142 2025-08-01 02:59:21 +00:00
renovate[bot] 27d05d46dd build(deps): update rust crate toml to 0.9.4 (#6871)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-30 06:03:18 +00:00
renovate[bot] 8eba75d0ea build(deps): update rust crate clap to 4.5.42 2025-07-30 02:48:59 +00:00
renovate[bot] 89a0b0815a build(deps): update rust crate toml to 0.9.3 2025-07-28 23:49:58 +00:00
renovate[bot] 98ca1a194f build(deps): lock file maintenance 2025-07-28 03:34:03 +00:00
Dominic Slee 0ad1cf831a fix(nushell): Startup cmd_duration should be 0ms not 823ms (#6854) 2025-07-27 21:16:20 +02:00
renovate[bot] d36b843580 build(deps): update rust crate jsonc-parser to 0.26.3 2025-07-22 20:57:05 +00:00
Josef Andersson f5780d9f00 docs(security): add initial security policy (#6730) 2025-07-21 15:49:34 -04:00
renovate[bot] 1a37dfca5a build(deps): lock file maintenance 2025-07-21 01:06:14 +00:00
renovate[bot] ec1741d702 build(deps): update rust crate rand to 0.9.2 2025-07-20 22:34:41 +00:00
renovate[bot] 73574f765d build(deps): update rust crate toml_edit to 0.23.2 (#6852)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-19 01:07:38 +00:00
renovate[bot] edbd2e209d build(deps): update rust crate serde_json to 1.0.141 2025-07-18 23:07:41 +00:00
Morgan Courbet 53b399b909 docs(odin): fix symbol description (#6847) 2025-07-17 13:22:56 +02:00
renovate[bot] edf441b664 build(deps): update rust crate systemstat to v0.2.5 2025-07-16 03:05:09 +00:00
renovate[bot] 26f7822ae6 build(deps): update rust crate gix to 0.73.0 2025-07-15 05:01:36 +00:00
renovate[bot] 195f28dbc0 build(deps): lock file maintenance 2025-07-14 01:04:14 +00:00
SuniRein ff0acb193e feat: new module xmake (#6811) 2025-07-13 19:56:18 +02:00
danieleades 94cdbc3f77 chore: remove redundant config in cargo.toml (#6770)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2025-07-13 19:55:06 +02:00
Dominic Slee 1c2f4d4659 perf(git_status): avoid gix index load when core.fsmonitor is used (#6817) 2025-07-13 19:53:53 +02:00
Justin Su ae5a9056a2 docs(c, cpp): remove incorrect note about default format string (#6828) 2025-07-13 19:53:12 +02:00
Justin Su 7e39fd8544 docs: add tip for all disabled-by-default modules (#6830) 2025-07-13 19:52:42 +02:00
renovate[bot] dedf7af4df build(deps): update toml crates 2025-07-11 18:39:14 +00:00
renovate[bot] eb08e713e2 build(deps): update rust crate toml to 0.9.1 2025-07-10 17:52:58 +00:00
renovate[bot] a21cbd6770 build(deps): update clap crates 2025-07-10 03:49:28 +00:00
renovate[bot] 5e25823f2b build(deps): update toml crates 2025-07-08 19:35:57 +00:00
renovate[bot] 0e667df52b build(deps): lock file maintenance 2025-07-07 01:31:51 +00:00
renovate[bot] 76f125b4f5 build(deps): update rust crate rust-ini to 0.21.2 2025-07-02 16:14:36 +00:00
renovate[bot] 1bf4a9cc88 build(deps): update crate-ci/typos action to v1.34.0 2025-06-30 20:14:05 +00:00
renovate[bot] 39d62321fe build(deps): update rust crate guess_host_triple to 0.1.5 2025-06-30 14:03:23 +00:00
renovate[bot] edd46cce3a build(deps): lock file maintenance (#6820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-30 05:25:50 +00:00
renovate[bot] d69b1c3561 build(deps): update dprint plugins 2025-06-30 02:15:05 +00:00
Christophe Fergeau 34a911df56 docs(preset/no-runtime-versions): Add missing modules (#6797)
A few modules are missing from the no-runtime-versions preset.
This also ensures the file is alphabetically ordered.
mojo and buf use "with" rather than "via", the preset now uses "with"
for these.

Signed-off-by: Christophe Fergeau <christophe@fergeau.eu>
2025-06-29 18:51:18 +02:00
renovate[bot] 47395d4a69 build(deps): update rust crate indexmap to 2.10.0 (#6814)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-27 16:52:34 +00:00
renovate[bot] a9261a8ed3 build(deps): lock file maintenance 2025-06-23 01:01:36 +00:00
Brian Green 44a6353fc7 docs: Fix stashed example for Git Status to prevent parse warning (#6772) 2025-06-22 15:52:47 +02:00
Nick Disiere 3543e0bc45 docs(preset/bracketed-segments): Add config for hostname module (#6794)
Add hostname to bracketed-segments preset
2025-06-22 15:51:31 +02:00
Ansh Tiwatne e149f381eb docs: add Fedora installation instructions using COPR (#6768)
* add Fedora installation instructions using COPR

Adds a Fedora 38+ entry to the install table using the existing atim/starship COPR repo.

Though the CentOS instructions work on Fedora, this improves clarity and discoverability for Fedora users.

Tested and confirmed working on Fedora 42.

* Order distros alphabetically

* Update min Fedora version to match the active release
2025-06-22 15:43:33 +02:00
Sean Behan 8cb7c34a40 docs(preset/jetpack): fix typo in color name (#6792) 2025-06-22 15:41:33 +02:00
void. a19e027b26 docs(presets): fix broken link to parent on Catppuccin Powerline preset page (#6784) 2025-06-22 15:40:22 +02:00
Rick Drumond 608ae37bcf fix(zsh): check if vars are set before reading them (#6742) 2025-06-22 15:39:45 +02:00
danieleades 3d2cf2a2fc style: use inline format args (clippy::uninlined_format_args) (#6734)
use inline format args (clippy::uninlined_format_args)

Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2025-06-22 15:39:22 +02:00
danieleades 6122516887 style: use 'Self' to refer to own type (clippy::use_self) (#6735)
---------

Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2025-06-22 15:38:27 +02:00
renovate[bot] 5bf25b77a4 build(deps): update embarkstudios/cargo-deny-action action to v2.0.12 2025-06-19 10:42:59 +00:00
Kishore Kevin d0f66c7842 docs(cpp): add tip to highlight that module is disabled-by-default (#6800) 2025-06-16 20:00:39 +02:00
renovate[bot] ad9654a6c2 build(deps): lock file maintenance (#6802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-16 04:51:47 +00:00
renovate[bot] 07c8143adf build(deps): update dprint plugins 2025-06-16 02:01:38 +00:00
renovate[bot] 8589ba3b51 build(deps): update pest crates to 2.8.1 2025-06-15 16:54:38 +00:00
renovate[bot] 66c1597252 build(deps): update rust crate yaml-rust2 to 0.10.3 (#6790)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-14 21:33:50 +00:00
renovate[bot] 9f922105b1 build(deps): update rust crate process_control to 5.1.1 (#6796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-14 19:57:37 +00:00
David Knaack ea26e25fcd chore: handle recent dependency updates & fix clippy warnings (#6773)
* build(deps): update rust crate schemars to 0.9.0

* chore: handle schemars update

* build(deps): update rust crate nix to 0.30.1

* chore(os): handle os-info update

* chore: handle clippy warnings

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-14 21:56:53 +02:00
sakuram-dev cf617cd226 docs: fix link for good first issue (#6791) 2025-06-14 20:33:44 +02:00
David Knaack 2c515c9488 docs: use GitHub-flavored alerts (#6751) 2025-06-14 20:32:16 +02:00
renovate[bot] 0d5fec7707 build(deps): update rust crate starship-battery to 0.10.2 2025-06-13 21:31:55 +00:00
renovate[bot] 101291c5f4 build(deps): update rust crate windows to 0.61.3 2025-06-12 19:43:18 +00:00
renovate[bot] 7bb431c58e build(deps): update rust crate windows to 0.61.2 (#6793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-12 01:35:14 +00:00
renovate[bot] d737713328 build(deps): update rust crate shadow-rs to 1.2.0 2025-06-11 12:36:20 +00:00
renovate[bot] 74bdf047a2 build(deps): update rust crate unicode-width to 0.2.1 (#6789)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-10 00:58:40 +00:00
renovate[bot] 87c61c5cde build(deps): update clap crates 2025-06-10 00:03:47 +00:00
renovate[bot] 9ab8b84ea6 build(deps): lock file maintenance 2025-06-09 00:38:27 +00:00
renovate[bot] 29620fde80 build(deps): update rust crate os_info to 3.12.0 2025-06-08 12:44:14 +00:00
renovate[bot] 0ed5e8903e build(deps): update rust crate which to v8 (#6780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-07 13:24:45 +02:00
Acid Bong e406f552f8 fix: remove double spaces in default values (#6649)
Command run: `for file in $(rg --hidden '".  "' -l); do sed -i '/".  "/s/  ",/ ",/' $file; done`
2025-06-06 23:26:34 +02:00
benjunmun ccc32e73fc fix(hg_branch): Strip extraneous newlines from hg topic. (#6766)
HG topic file, like the branch file, can end with a newline. Strip it
out the same way to avoid dumping extra newlines into the prompt.

Co-authored-by: Ben Li <bli@riorey.com>
2025-06-06 23:24:36 +02:00
Cédric Krier 5f0b31b4c8 feat: add mercurial state (#6745) 2025-06-06 23:24:16 +02:00
JunZ 7f4eb6fdae perf: Parallelize child modules for env_var|custom (#6748)
parallelize child modules for env_var|custom
2025-06-06 23:23:58 +02:00
renovate[bot] e0d16e3a96 build(deps): update toml crates 2025-06-06 19:46:05 +00:00
renovate[bot] 09c2b07975 build(deps): update mislav/bump-homebrew-formula-action action to v3.4 (#6774)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-03 15:09:49 +00:00
Igor Babko e79b410d9e docs(preset/catppuccin-powerline): fix typo in palette name (#6753) 2025-06-03 17:08:16 +02:00
renovate[bot] a5c971c8b1 build(deps): update crate-ci/typos action to v1.33.1 2025-06-02 18:22:26 +00:00
renovate[bot] b4f85a3de1 build(deps): lock file maintenance (#6769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-02 05:43:45 +00:00
renovate[bot] 873a5b11df build(deps): update dependency dprint/dprint-plugin-typescript to v0.95.5 2025-06-02 00:51:28 +00:00
Asadullah Shaikh 5e8851a953 fix(preset/pure): only enable python module if venv is active (#6689) 2025-06-01 21:34:34 +02:00
renovate[bot] c1a8483ac9 build(deps): update mislav/bump-homebrew-formula-action action to v3.3 (#6765)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-30 23:35:37 +00:00
renovate[bot] a12a04cafb build(deps): update rust crate clap_complete to 4.5.52 2025-05-30 16:32:06 +00:00
renovate[bot] c4100d9c14 build(deps): update rust crate parking_lot to 0.12.4 2025-05-29 20:55:40 +00:00
renovate[bot] 45c316b66f build(deps): update clap crates (#6758)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-28 02:39:21 +00:00
danieleades 4eaec686b3 style: tiny refactor of the Module constructor (#6737)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
2025-05-27 23:27:40 +02:00
raylu 44e9e56480 feat(aws): support duration for aws sso (#6614)
* feat(aws): support duration for aws sso

* don't bail if ~/.aws/credentials doesn't exist

* take clippy suggestion, fmt

* ModuleRenderer::new_with_home

* add test for sso duration

* add comments to get_credentials_duration
2025-05-27 23:27:00 +02:00
Bahex ac2359ca8a feat(nu): Add job support for nushell (#6684)
* Add job support for nushell

* Do not raise minimum supported nushell version

* Update documentation about job support on nushell
2025-05-27 23:24:39 +02:00
XTY d15c183505 docs(install): fix broken Nixpkgs link (#6727) 2025-05-27 23:21:15 +02:00
renovate[bot] 4cd15756ae build(deps): update dependency taplo-cli to 0.10.0 2025-05-23 06:54:26 +00:00
renovate[bot] 08cf17911b build(deps): update rust crate yaml-rust2 to 0.10.2 (#6749)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-22 07:06:47 +00:00
renovate[bot] 0877e81672 build(deps): update rust crate windows to 0.61.1 2025-05-22 03:03:48 +00:00
renovate[bot] 1a6e9137e4 build(deps): update rust crate process_control to 5.1.0 2025-05-18 03:25:36 +00:00
renovate[bot] 87f9a2367b build(deps): lock file maintenance (#6733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 05:54:43 +00:00
renovate[bot] fb0ba07de3 build(deps): update dependency dprint/dprint-plugin-typescript to v0.95.1 (#6732)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 05:54:22 +00:00
renovate[bot] 4236712e5f build(deps): update rust crate tempfile to 3.20.0 2025-05-11 21:56:16 +00:00
renovate[bot] f9c83def71 build(deps): update rust crate os_info to 3.11.0 2025-05-11 14:26:43 +00:00
renovate[bot] 4728d20341 build(deps): update rust crate clap to 4.5.38 2025-05-11 02:59:17 +00:00
Pavel Zwerschke a477186e52 fix(pixi): Don't trigger pixi module by .pixi directory (#6709) 2025-05-10 21:37:07 +02:00
Morgan Courbet a98a05f1ac fix(docker_context): add compose.yml and compose.yaml to files (#6625) 2025-05-10 21:35:09 +02:00
Pavel Zwerschke e565e8a32d docs(pixi): Fix typo (#6708) 2025-05-10 21:31:22 +02:00
Pierre-Alexandre Broux d404182164 docs(pixi): fix pixi command to change ps1. (#6715) 2025-05-10 21:24:03 +02:00
David Knaack dc79c1385c chore: fix config schema formatting (#6705) 2025-05-10 21:22:56 +02:00
renovate[bot] 2048bb224e build(deps): update rust crate clap_complete to 4.5.50 2025-05-06 19:36:27 +00:00
renovate[bot] 1996feb1d5 build(deps): update rust crate clap_complete to 4.5.49 2025-05-05 22:48:32 +00:00
renovate[bot] f9edc78804 build(deps): lock file maintenance 2025-05-05 02:49:38 +00:00
renovate[bot] f34ff6ace8 build(deps): update crate-ci/typos action to v1.32.0 2025-05-02 19:09:58 +00:00
renovate[bot] a2c98b8cf6 build(deps): update rust crate chrono to 0.4.41 2025-04-29 13:41:49 +00:00
renovate[bot] 874980a079 build(deps): update toml crates (#6710)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 03:45:01 +00:00
renovate[bot] e81cdd43db build(deps): update rust crate clap_complete to 4.5.48 2025-04-29 00:07:41 +00:00
renovate[bot] 073426664c build(deps): update crate-ci/typos action to v1.31.2 2025-04-28 17:03:55 +00:00
Matan Kushner ed87dc5750 docs(i18n): new Crowdin updates (#6492)
* New translations readme.md (Russian)

* New translations readme.md (French)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Spanish)

* New translations readme.md (Spanish)

* New translations readme.md (German)

* New translations readme.md (German)

* New translations readme.md (German)

* New translations readme.md (Japanese)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Korean)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Polish)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Indonesian)

* New translations readme.md (French)

* New translations readme.md (Bengali)

* New translations readme.md (Russian)

* New translations readme.md (Russian)

* New translations readme.md (Russian)

* New translations readme.md (Ukrainian)

* New translations readme.md (Ukrainian)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Russian)

* New translations readme.md (Russian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations jetpack.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations bracketed-segments.md (Chinese Simplified)

* New translations nerd-font.md (Chinese Simplified)

* New translations no-runtimes.md (Chinese Simplified)

* New translations plain-text.md (Chinese Simplified)

* New translations pure-preset.md (Chinese Simplified)

* New translations pastel-powerline.md (Chinese Simplified)

* New translations no-nerd-font.md (Chinese Simplified)

* New translations no-empty-icons.md (Chinese Simplified)

* New translations tokyo-night.md (Chinese Simplified)

* New translations gruvbox-rainbow.md (Chinese Simplified)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations catppuccin-powerline.md (French)

* New translations catppuccin-powerline.md (Spanish)

* New translations catppuccin-powerline.md (Arabic)

* New translations catppuccin-powerline.md (German)

* New translations catppuccin-powerline.md (Italian)

* New translations catppuccin-powerline.md (Japanese)

* New translations catppuccin-powerline.md (Korean)

* New translations catppuccin-powerline.md (Dutch)

* New translations catppuccin-powerline.md (Norwegian)

* New translations catppuccin-powerline.md (Polish)

* New translations catppuccin-powerline.md (Portuguese)

* New translations catppuccin-powerline.md (Russian)

* New translations catppuccin-powerline.md (Turkish)

* New translations catppuccin-powerline.md (Ukrainian)

* New translations catppuccin-powerline.md (Chinese Simplified)

* New translations catppuccin-powerline.md (Chinese Traditional)

* New translations catppuccin-powerline.md (Vietnamese)

* New translations catppuccin-powerline.md (Portuguese, Brazilian)

* New translations catppuccin-powerline.md (Indonesian)

* New translations catppuccin-powerline.md (Bengali)

* New translations catppuccin-powerline.md (Sorani (Kurdish))

* New translations readme.md (Ukrainian)

* New translations catppuccin-powerline.md (Ukrainian)

* New translations readme.md (Ukrainian)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Japanese)

* New translations readme.md (Ukrainian)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Vietnamese)

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (French)

* New translations readme.md (Spanish)

* New translations readme.md (Arabic)

* New translations readme.md (German)

* New translations readme.md (Italian)

* New translations readme.md (Japanese)

* New translations readme.md (Korean)

* New translations readme.md (Dutch)

* New translations readme.md (Norwegian)

* New translations readme.md (Polish)

* New translations readme.md (Portuguese)

* New translations readme.md (Russian)

* New translations readme.md (Turkish)

* New translations readme.md (Ukrainian)

* New translations readme.md (Chinese Simplified)

* New translations readme.md (Chinese Traditional)

* New translations readme.md (Vietnamese)

* New translations readme.md (Portuguese, Brazilian)

* New translations readme.md (Indonesian)

* New translations readme.md (Bengali)

* New translations readme.md (Sorani (Kurdish))

* New translations readme.md (Japanese)

* New translations bracketed-segments.md (Japanese)

* New translations catppuccin-powerline.md (Japanese)

* New translations readme.md (Japanese)

* New translations readme.md (Ukrainian)
2025-04-28 00:53:07 +09:00
455 changed files with 19040 additions and 12514 deletions
+3 -3
View File
@@ -25,9 +25,9 @@
"target/"
],
"plugins": [
"https://github.com/dprint/dprint-plugin-typescript/releases/download/0.95.0/plugin.wasm",
"https://github.com/dprint/dprint-plugin-json/releases/download/0.20.0/plugin.wasm",
"https://github.com/dprint/dprint-plugin-markdown/releases/download/0.18.0/plugin.wasm",
"https://github.com/dprint/dprint-plugin-typescript/releases/download/0.95.12/plugin.wasm",
"https://github.com/dprint/dprint-plugin-json/releases/download/0.21.0/plugin.wasm",
"https://github.com/dprint/dprint-plugin-markdown/releases/download/0.20.0/plugin.wasm",
"https://github.com/dprint/dprint-plugin-toml/releases/download/0.7.0/plugin.wasm"
]
}
+3332 -2929
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -7,6 +7,7 @@
"group:monorepos",
"group:recommended",
"workarounds:all",
"replacements:all",
// automerge minor updates
":automergeMinor",
":automergeBranch"
+9 -9
View File
@@ -12,9 +12,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Docs | Format
uses: dprint/check@v2.2
uses: dprint/check@v2.3
# Validate preset files
taplo:
@@ -22,9 +22,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install | Taplo
run: cargo install --debug --locked --version 0.9.3 taplo-cli
run: cargo install --debug --locked --version 0.10.0 taplo-cli
- name: Presets | Validate with schema
run: taplo lint --schema "file://${GITHUB_WORKSPACE}/.github/config-schema.json" docs/public/presets/toml/*.toml
@@ -35,11 +35,11 @@ jobs:
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref != 'i18n_master' }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Prevent File Change
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const { execSync } = require('child_process');
@@ -62,12 +62,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 22.21.1
cache: 'npm'
cache-dependency-path: docs/package-lock.json
+4 -6
View File
@@ -7,12 +7,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 22.21.1
cache: 'npm'
cache-dependency-path: docs/package-lock.json
@@ -25,9 +25,7 @@ jobs:
working-directory: docs
- name: Publish
uses: netlify/actions/cli@master
with:
args: deploy --prod --dir=docs/.vitepress/dist
run: npx netlify-cli deploy --no-build --prod --dir=docs/.vitepress/dist
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
+19 -19
View File
@@ -20,7 +20,7 @@ jobs:
release_created: ${{ steps.release.outputs.release_created }}
tag_name: ${{ steps.release.outputs.tag_name }}
steps:
- uses: google-github-actions/release-please-action@v4
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
@@ -88,7 +88,7 @@ jobs:
RUSTFLAGS: ${{ matrix.rustflags || '' }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Rust
uses: dtolnay/rust-toolchain@master
@@ -128,7 +128,7 @@ jobs:
continue-on-error: true
if: matrix.os == 'windows-latest'
id: unsigned-artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: unsigned-${{ matrix.name }}
path: |
@@ -138,7 +138,7 @@ jobs:
- name: Sign | Sign [Windows]
continue-on-error: true
if: matrix.os == 'windows-latest'
uses: signpath/github-action-submit-signing-request@v1
uses: signpath/github-action-submit-signing-request@v2
with:
api-token: '${{ secrets.SIGNPATH_API_TOKEN }}'
organization-id: '${{ vars.SIGNPATH_ORGANIZATION_ID }}'
@@ -163,7 +163,7 @@ jobs:
cd -
- name: Release | Upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ${{ matrix.name }}
path: ${{ matrix.name }}
@@ -171,7 +171,7 @@ jobs:
- name: Release | Upload installer artifacts [Windows]
continue-on-error: true
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: starship-${{ matrix.target }}.msi
path: target/${{ matrix.target }}/release/starship-${{ matrix.target }}.msi
@@ -201,7 +201,7 @@ jobs:
STARSHIP_VERSION: ${{ needs.release_please.outputs.tag_name }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
# Required to include the recently merged Crowdin PR
ref: master
@@ -238,9 +238,9 @@ jobs:
xcrun notarytool store-credentials "$KEYCHAIN_ENTRY" --team-id "$APPLEID_TEAMID" --apple-id "$APPLEID_USERNAME" --password "$APPLEID_PASSWORD" --keychain "$KEYCHAIN_PATH"
- name: Setup | Node
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 20
node-version: 22.21.1
- name: Notarize | Build docs
run: |
@@ -249,7 +249,7 @@ jobs:
npm run build
- name: Notarize | Download artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
name: ${{ matrix.name }}
path: artifacts
@@ -261,7 +261,7 @@ jobs:
run: bash install/macos_packages/build_and_notarize.sh starship docs ${{ matrix.arch }} ${{ matrix.pkgname }}
- name: Notarize | Upload Notarized Flat Installer
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ${{ matrix.pkgname }}
path: ${{ matrix.pkgname }}
@@ -270,7 +270,7 @@ jobs:
run: tar czvf ${{ matrix.name }} starship
- name: Notarize | Upload Notarized Binary
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ${{ matrix.name }}
path: ${{ matrix.name }}
@@ -289,7 +289,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
- name: Setup | Checksums
run: for file in starship-*/starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done
@@ -313,7 +313,7 @@ jobs:
if: ${{ needs.release_please.outputs.release_created == 'true' }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
@@ -327,7 +327,7 @@ jobs:
needs: [release_please, upload_artifacts]
if: ${{ needs.release_please.outputs.release_created == 'true' }}
steps:
- uses: mislav/bump-homebrew-formula-action@v3.2
- uses: mislav/bump-homebrew-formula-action@v3.6
with:
formula-name: starship
tag-name: ${{ needs.release_please.outputs.tag_name }}
@@ -367,9 +367,9 @@ jobs:
if: ${{ needs.release_please.outputs.release_created == 'true' }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
- run: pwsh ./install/windows/choco/update.ps1
env:
STARSHIP_VERSION: ${{ needs.release_please.outputs.tag_name }}
@@ -383,7 +383,7 @@ jobs:
continue-on-error: true
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Merge | Merge Crowdin PR
run: gh pr merge i18n_master --squash --repo=starship/starship
env:
@@ -395,7 +395,7 @@ jobs:
needs: merge_crowdin_pr
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Trigger workflow dispatch
run: gh workflow run publish-docs.yml
env:
+2 -2
View File
@@ -22,8 +22,8 @@ jobs:
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Test | Security Audit
uses: EmbarkStudios/cargo-deny-action@v2.0.11
uses: EmbarkStudios/cargo-deny-action@v2.0.13
with:
command: check ${{ matrix.checks }}
+2 -2
View File
@@ -6,5 +6,5 @@ jobs:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: crate-ci/typos@v1.31.1
- uses: actions/checkout@v5
- uses: crate-ci/typos@v1.39.2
+17 -11
View File
@@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
@@ -43,7 +43,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
@@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
@@ -80,7 +80,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
@@ -98,7 +98,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
@@ -120,7 +120,7 @@ jobs:
pull-requests: write
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup | Rust
uses: dtolnay/rust-toolchain@stable
@@ -132,7 +132,7 @@ jobs:
run: cargo run --locked --features config-schema -- config-schema > .github/config-schema.json
- name: Check | Detect Changes
uses: reviewdog/action-suggester@v1.21.0
uses: reviewdog/action-suggester@v1.24.0
with:
tool_name: starship config-schema
filter_mode: nofilter
@@ -156,7 +156,7 @@ jobs:
RUSTFLAGS: ${{ matrix.rustflags || '' }}
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
# Install all the required dependencies for testing
- name: Setup | Rust
@@ -181,11 +181,17 @@ jobs:
# cargo-wix does not require static crt
RUSTFLAGS: ""
# Install Mercurial (pre-installed on Linux and windows)
# Install Mercurial (pre-installed on Linux)
- name: Setup | Mercurial (macos)
if: matrix.os == 'macOS-latest'
run: brew install mercurial
- name: Setup | Mercurial (windows)
if: matrix.os == 'windows-latest'
run: |
winget install --id Mercurial.Mercurial --silent --exact --disable-interactivity --accept-source-agreements
Add-Content -Path $env:GITHUB_PATH -Value "C:\Program Files\Mercurial" -Encoding utf8
# Run the ignored tests that expect the above setup
- name: Build | Test
run: "cargo llvm-cov
@@ -222,7 +228,7 @@ jobs:
STARSHIP_VERSION: v1.2.3
- name: Sign | Upload Executable [Windows]
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
continue-on-error: true
id: unsigned-artifacts
if: matrix.os == 'windows-latest' && matrix.rust == 'stable' && github.event_name == 'push' && github.repository == 'starship/starship'
@@ -233,7 +239,7 @@ jobs:
target/debug/starship-x86_64-pc-windows-msvc.msi
- name: Sign | Sign [Windows]
uses: signpath/github-action-submit-signing-request@v1
uses: signpath/github-action-submit-signing-request@v2
continue-on-error: true
if: matrix.os == 'windows-latest' && matrix.rust == 'stable' && github.event_name == 'push' && github.repository == 'starship/starship'
with:
+59
View File
@@ -1,5 +1,64 @@
# Changelog
## [1.24.1](https://github.com/starship/starship/compare/v1.24.0...v1.24.1) (2025-11-16)
### Bug Fixes
* **fish:** fix job counting ([#7082](https://github.com/starship/starship/issues/7082)) ([7795bab](https://github.com/starship/starship/commit/7795bab3bd55c6515bce73e1e01c977203113ced))
* improve timeout warning message in the directory scanner ([#7120](https://github.com/starship/starship/issues/7120)) ([d6daf8a](https://github.com/starship/starship/commit/d6daf8a4e1cdfbd361efe26ddefa0b60efaa5b1d))
## [1.24.0](https://github.com/starship/starship/compare/v1.23.0...v1.24.0) (2025-10-25)
### Features
* add mercurial state ([#6745](https://github.com/starship/starship/issues/6745)) ([5f0b31b](https://github.com/starship/starship/commit/5f0b31b4c8da64a3dbe27f5966dfbc4ab2b9f7bf))
* **aws:** support duration for aws sso ([#6614](https://github.com/starship/starship/issues/6614)) ([44e9e56](https://github.com/starship/starship/commit/44e9e56480a748ccda1a64a9f623dc2b19ecfe98))
* **cli:** accept 'powershell' for completions subcommand ([#7028](https://github.com/starship/starship/issues/7028)) ([4caee4a](https://github.com/starship/starship/commit/4caee4a7ca5dbb78c346a84cc39ca3a90a9238a5))
* **container:** Add detection of Incus containers ([#6917](https://github.com/starship/starship/issues/6917)) ([6886ad0](https://github.com/starship/starship/commit/6886ad082cd55a5a07160cc847c9c38915dca848))
* **fish:** support input-mode detection for helix-keybinds ([#6841](https://github.com/starship/starship/issues/6841)) ([26a6237](https://github.com/starship/starship/commit/26a62372d11a42f7fec0b65c388e585a79d05b04))
* Fortran module ([#6685](https://github.com/starship/starship/issues/6685)) ([90d8c4a](https://github.com/starship/starship/commit/90d8c4a256b67bfef9cf33e4d560eb34c390d101))
* **git_branch:** add ignore_bare_repo flag ([#6936](https://github.com/starship/starship/issues/6936)) ([87b7ac3](https://github.com/starship/starship/commit/87b7ac342f93b88780863251421283c4874d356c))
* **install.sh:** handle installation directory prompt responses case-insensitively ([#6866](https://github.com/starship/starship/issues/6866)) ([bc48b5f](https://github.com/starship/starship/commit/bc48b5fcb07b3ea806127bc6ab13616028e92642))
* new module `xmake` ([#6811](https://github.com/starship/starship/issues/6811)) ([ff0acb1](https://github.com/starship/starship/commit/ff0acb193eaa04ab63a8e56e1bd18019444b886f))
* **nu:** Add job support for nushell ([#6684](https://github.com/starship/starship/issues/6684)) ([ac2359c](https://github.com/starship/starship/commit/ac2359ca8a020825b5c68b5e3b8da35d4917f46e))
* **package:** Add support for Ansible Galaxy ([#6905](https://github.com/starship/starship/issues/6905)) ([07778a8](https://github.com/starship/starship/commit/07778a8452bb565db55e32c32d7c8434a7bda9dd))
* **package:** pyproject hatchling dynamic version ([#6656](https://github.com/starship/starship/issues/6656)) ([ef5227e](https://github.com/starship/starship/commit/ef5227eeafa4dd5c99aff1fdab07574bc423d648))
* **terraform:** support opentofu for terraform version detection ([#6910](https://github.com/starship/starship/issues/6910)) ([ef7d8bd](https://github.com/starship/starship/commit/ef7d8bd442f659b64cc23fd4b096e696531289ba))
### Bug Fixes
* consider text-only meta variables in conditionals set if non-empty ([#6338](https://github.com/starship/starship/issues/6338)) ([286b0f2](https://github.com/starship/starship/commit/286b0f2be30db81bc948579c137f0cc646fcde65))
* **docker_context:** add `compose.yml` and `compose.yaml` to files ([#6625](https://github.com/starship/starship/issues/6625)) ([a98a05f](https://github.com/starship/starship/commit/a98a05f1ac4dfc215337a266c784cd62256f0c33))
* **explain:** Filter out non-printing ANSI escape codes ([#6861](https://github.com/starship/starship/issues/6861)) ([2c11c08](https://github.com/starship/starship/commit/2c11c086b8da5ea43ae795fa0e71a621e983ebcc))
* **fossil_metrics:** match single-file ([#6785](https://github.com/starship/starship/issues/6785)) ([5dd40ea](https://github.com/starship/starship/commit/5dd40ea62fb697239c2a84072414bd30059067d9))
* **git_metrics:** adhere to `git_status` `use_git_executable` option ([#6927](https://github.com/starship/starship/issues/6927)) ([05daa3e](https://github.com/starship/starship/commit/05daa3e27832dde93f784c2659b31f94bb827f80))
* **git_status:** Do not show up-to-date when untracked ([#6755](https://github.com/starship/starship/issues/6755)) ([f42b53e](https://github.com/starship/starship/commit/f42b53edd8bc26ec95dd027d9cf776ec70597cc3))
* **hg_branch:** Strip extraneous newlines from hg topic. ([#6766](https://github.com/starship/starship/issues/6766)) ([ccc32e7](https://github.com/starship/starship/commit/ccc32e73fc0a0f99d90cff3a0efb73efecce1d84))
* improve adhere to directory scanning timeout ([#6694](https://github.com/starship/starship/issues/6694)) ([109a681](https://github.com/starship/starship/commit/109a6811cee1faae677a24a7d92fa8ed39397485))
* **jobs:** Count job groups instead of processes for fish ([#6899](https://github.com/starship/starship/issues/6899)) ([95bf53f](https://github.com/starship/starship/commit/95bf53f6b9f7dbc50708e0f459b6dc7a7b7ebd20))
* **modules:** username detect_env_vars logic ([#6934](https://github.com/starship/starship/issues/6934)) ([a60df1d](https://github.com/starship/starship/commit/a60df1d1fe2e670132a86e314971dce2ac4c1607)), closes [#6870](https://github.com/starship/starship/issues/6870)
* **nushell:** Startup `cmd_duration` should be 0ms not 823ms ([#6854](https://github.com/starship/starship/issues/6854)) ([0ad1cf8](https://github.com/starship/starship/commit/0ad1cf831a9e7938ed5e3d3262d3647e828ee4de))
* **pixi:** Don't trigger pixi module by `.pixi` directory ([#6709](https://github.com/starship/starship/issues/6709)) ([a477186](https://github.com/starship/starship/commit/a477186e52e156eeac780e9b79210a19715f4919))
* **preset/nerd-font:** remove double spaces in `gcloud` default value and use Google Cloud-specific icon ([#6822](https://github.com/starship/starship/issues/6822)) ([3b5bbe3](https://github.com/starship/starship/commit/3b5bbe3566583f4549234f89874a3662d67c5012))
* **preset/pure:** only enable python module if venv is active ([#6689](https://github.com/starship/starship/issues/6689)) ([5e8851a](https://github.com/starship/starship/commit/5e8851a95364e9713d1c5ddc409248f0705a9410))
* **presets/plaint-text:** Add missing entries ([#6929](https://github.com/starship/starship/issues/6929)) ([e593332](https://github.com/starship/starship/commit/e5933327d705cc33951e9bf6ad08a0128720725b))
* remove double spaces in default values ([#6649](https://github.com/starship/starship/issues/6649)) ([e406f55](https://github.com/starship/starship/commit/e406f552f84b37631152f34617712085d65c5e7b))
* rust-ini 0.21.2 has been yanked from crates.io. ([#6916](https://github.com/starship/starship/issues/6916)) ([b698fb0](https://github.com/starship/starship/commit/b698fb05593c81c1e2f35af0f1e61c00dd85c6ce))
* **terraform:** amend module to `exec_cmds_return_first`-changes ([#6956](https://github.com/starship/starship/issues/6956)) ([0f5d8d4](https://github.com/starship/starship/commit/0f5d8d4a4a932b5ed99aece6a6484887d7f4e06a))
* **test/git_commit:** avoid spawning an editor lead to timeout if tag signing is enabled ([#6887](https://github.com/starship/starship/issues/6887)) ([32c29cf](https://github.com/starship/starship/commit/32c29cfda784bdcc6a97c0e637f99100af1a0c2d))
* **time:** don't print misleading log message ([#7008](https://github.com/starship/starship/issues/7008)) ([5db4ea7](https://github.com/starship/starship/commit/5db4ea7878fb6ad40982021b64a907459cf22577))
* **zsh:** check if vars are set before reading them ([#6742](https://github.com/starship/starship/issues/6742)) ([608ae37](https://github.com/starship/starship/commit/608ae37bcfd498b72020689b19debb79d236c411))
* **zsh:** do not fail under ERR_EXIT conditions if `STARSHIP_DURATION` computes to 0 ([#6922](https://github.com/starship/starship/issues/6922)) ([38db5f0](https://github.com/starship/starship/commit/38db5f0094d1109b8e7b4332b6c20c2a8b125cf1))
### Performance Improvements
* **git_status:** avoid gix index load when `core.fsmonitor` is used ([#6817](https://github.com/starship/starship/issues/6817)) ([1c2f4d4](https://github.com/starship/starship/commit/1c2f4d46594d38abd423752efa3b21903e5a1e3b))
* Parallelize child modules for env_var|custom ([#6748](https://github.com/starship/starship/issues/6748)) ([7f4eb6f](https://github.com/starship/starship/commit/7f4eb6fdae5218413963f07f86df4e2b340bd05e))
## [1.23.0](https://github.com/starship/starship/compare/v1.22.1...v1.23.0) (2025-04-27)
Generated
+1086 -874
View File
File diff suppressed because it is too large Load Diff
+42 -43
View File
@@ -1,6 +1,6 @@
[package]
name = "starship"
version = "1.23.0"
version = "1.24.1"
authors = ["Starship Contributors"]
build = "build.rs"
categories = ["command-line-utilities"]
@@ -35,62 +35,62 @@ config-schema = ["schemars"]
notify = ["notify-rust"]
[dependencies]
chrono = { version = "0.4.40", default-features = false, features = ["clock", "std", "wasmbind"] }
clap = { version = "4.5.37", features = ["derive", "cargo", "unicode"] }
clap_complete = "4.5.47"
clap_complete_nushell = "4.5.5"
chrono = { version = "0.4.42", default-features = false, features = ["clock", "std", "wasmbind"] }
clap = { version = "4.5.51", features = ["derive", "cargo", "unicode"] }
clap_complete = "4.5.60"
clap_complete_nushell = "4.5.10"
dirs = "6.0.0"
dunce = "1.0.5"
# default feature restriction addresses https://github.com/starship/starship/issues/4251
gix = { version = "0.72.1", default-features = false, features = ["max-performance-safe", "revision", "zlib-rs", "status"] }
indexmap = { version = "2.9.0", features = ["serde"] }
jsonc-parser = { version = "0.26.2", features = ["serde"] }
log = { version = "0.4.27", features = ["std"] }
gix = { version = "0.74.1", default-features = false, features = ["max-performance-safe", "revision", "zlib-rs", "status"] }
indexmap = { version = "2.12.0", features = ["serde"] }
jsonc-parser = { version = "0.27.1", features = ["serde"] }
log = { version = "0.4.28", features = ["std"] }
# 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
notify-rust = { version = "4.11.7", optional = true }
nu-ansi-term = "0.50.1"
nu-ansi-term = "0.50.3"
open = "5.3.2"
# update os module config and tests when upgrading os_info
os_info = "3.10.0"
os_info = "3.13.0"
# for efficient shared state between `git_status` and `git_metrics`, allowing parallel printing. This is for poison-free locks.
parking_lot = "0.12.3"
parking_lot = "0.12.5"
path-slash = "0.2.1"
pest = "2.8.0"
pest_derive = "2.8.0"
process_control = "5.0.0"
quick-xml = "0.37.5"
rand = "0.9.1"
rayon = "1.10.0"
regex = { version = "1.11.1", default-features = false, features = ["perf", "std", "unicode-perl"] }
rust-ini = "0.21.1"
semver = "1.0.26"
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.140"
pest = "2.8.3"
pest_derive = "2.8.3"
process_control = "5.2.0"
quick-xml = "0.38.4"
rand = "0.9.2"
rayon = "1.11.0"
regex = { version = "1.12.2", default-features = false, features = ["perf", "std", "unicode-perl"] }
rust-ini = "0.21.3"
semver = "1.0.27"
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.145"
sha1 = "0.10.6"
shadow-rs = { version = "1.1.1", default-features = false, features = ["build"] }
shadow-rs = { version = "1.4.0", default-features = false, features = ["build"] }
# battery is optional (on by default) because the crate doesn't currently build for Termux
# see: https://github.com/svartalf/rust-battery/issues/33
starship-battery = { version = "0.10.1", optional = true }
starship-battery = { version = "0.10.3", optional = true }
strsim = "0.11.1"
systemstat = "=0.2.4"
terminal_size = "0.4.2"
toml = { version = "0.8.21", features = ["preserve_order"] }
toml_edit = "0.22.25"
systemstat = "=0.2.5"
terminal_size = "0.4.3"
toml = { version = "0.9.8", features = ["preserve_order"] }
toml_edit = "0.23.7"
unicode-segmentation = "1.12.0"
unicode-width = "0.2.0"
unicode-width = "0.2.2"
urlencoding = "2.1.3"
versions = "7.0.0"
which = "7.0.3"
whoami = { version = "1.6.0", default-features = false }
yaml-rust2 = "0.10.1"
which = "8.0.0"
whoami = { version = "1.6.1", default-features = false }
yaml-rust2 = "0.10.4"
guess_host_triple = "0.1.4"
home = "0.5.11"
guess_host_triple = "0.1.5"
home = "0.5.12"
shell-words = "1.1.0"
[dependencies.schemars]
version = "0.8.22"
version = "1.1.0"
optional = true
features = ["preserve_order", "indexmap2"]
@@ -98,7 +98,7 @@ features = ["preserve_order", "indexmap2"]
deelevate = "0.2.0"
[target.'cfg(windows)'.dependencies.windows]
version = "0.61.0"
version = "0.62.2"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
@@ -108,10 +108,10 @@ features = [
]
[target.'cfg(not(windows))'.dependencies]
nix = { version = "0.29.0", default-features = false, features = ["feature", "fs", "user"] }
nix = { version = "0.30.1", default-features = false, features = ["feature", "fs", "user"] }
[build-dependencies]
shadow-rs = { version = "1.1.1", default-features = false, features = ["build"] }
shadow-rs = { version = "1.4.0", default-features = false, features = ["build"] }
dunce = "1.0.5"
[target.'cfg(windows)'.build-dependencies]
@@ -119,7 +119,7 @@ winres = "0.1.12"
[dev-dependencies]
mockall = "0.13.1"
tempfile = "3.19.1"
tempfile = "3.23.0"
[profile.release]
codegen-units = 1
@@ -131,6 +131,5 @@ codegen-units = 16
lto = "thin"
strip = false
[[bin]]
name = "starship"
path = "src/main.rs"
[lints.clippy]
use_self = "warn"
+5 -4
View File
@@ -230,6 +230,7 @@ Alternatively, install Starship using any of the following package managers:
| Arch Linux | [Arch Linux Extra] | `pacman -S starship` |
| CentOS 7+ | [Copr] | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main] | `apt install starship` |
| Fedora 40+ | [Copr] | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo Packages] | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs] | `nix-env -iA nixpkgs.starship` |
@@ -306,13 +307,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
Add the following to the end of `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
Note: Only Elvish v0.18+ is supported
Note: Only Elvish v0.18+ is supported. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -409,7 +410,7 @@ If you're looking to further customize Starship:
## 🤝 Contributing
We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
If you are fluent in a non-English language, we greatly appreciate any help keeping our docs translated and up-to-date in other languages. If you would like to help, translations can be contributed on the [Starship Crowdin](https://translate.starship.rs/).
@@ -462,7 +463,7 @@ This project is [ISC](https://github.com/starship/starship/blob/master/LICENSE)
[linuxbrew]: https://formulae.brew.sh/formula/starship
[homebrew]: https://formulae.brew.sh/formula/starship
[macports]: https://ports.macports.org/port/starship
[nixpkgs]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix
[nixpkgs]: https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix
[OSS]: https://software.opensuse.org/package/starship
[pkgsrc]: https://pkgsrc.se/shells/starship
[scoop]: https://github.com/ScoopInstaller/Main/blob/master/bucket/starship.json
+29
View File
@@ -0,0 +1,29 @@
# Security Reporting
If you wish to report a security vulnerability privately, we appreciate your diligence. Please follow the guidelines below to submit your report.
## Reporting
To report a security vulnerability, please provide the following information:
1. **PUBLIC**
- Indicate whether this vulnerability has already been publicly discussed or disclosed.
- If so, provide relevant links.
2. **DESCRIPTION**
- Provide a detailed description of the security vulnerability.
- Include as much information as possible to help us understand and address the issue.
Report this, along with any additional relevant details in [GitHub Advisory](https://github.com/starship/starship/security/advisories/new).
## Confidentiality
We kindly ask you to keep the report confidential until a public announcement is made.
## Notes
- Vulnerabilities will be handled on a best-effort basis.
- You will be notified, via your GitHub Advisory report, about eventual patches.
- We will respond within a few weeks to confirm whether your report has been accepted or rejected.
Thank you for helping to improve the security of Starship!
+2 -2
View File
@@ -42,7 +42,7 @@ fn gen_presets_hook(mut file: &File) -> SdResult<()> {
writeln!(
file,
r#"
r"
use crate::print;
pub fn get_preset_list<'a>() -> &'a [print::Preset] {{
@@ -57,7 +57,7 @@ pub fn get_preset_content(name: &str) -> &[u8] {{
_ => unreachable!(),
}}
}}
"#
"
)?;
Ok(())
}
+7 -14
View File
@@ -124,20 +124,17 @@ onMounted(() => {
```
#### Elvish
> [!WARNING]
> Only elvish v0.18 or higher is supported.
::: warning
Only elvish v0.18 or higher is supported.
:::
Add the following to the end of `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -150,13 +147,9 @@ onMounted(() => {
```
#### Nushell
::: warning
This will change in the future.
Only Nushell v0.96+ is supported.
:::
> [!WARNING]
> This will change in the future.
> Only Nushell v0.96+ is supported.
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+2 -5
View File
@@ -4,11 +4,8 @@ While Starship is a versatile shell, sometimes you need to do more than edit
`starship.toml` to get it to do certain things. This page details some of the more
advanced configuration techniques used in starship.
::: warning
The configurations in this section are subject to change in future releases of Starship.
:::
> [!WARNING]
> The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt in PowerShell
+4 -11
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
Only elvish v0.18 or higher is supported.
:::
أضف ما يلي إلى نهاية الملف `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,11 +161,7 @@ onMounted(() => {
#### Nushell
::: warning
This will change in the future. Only Nushell v0.96+ is supported.
:::
> [!WARNING] This will change in the future. Only Nushell v0.96+ is supported.
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+1 -5
View File
@@ -2,11 +2,7 @@
While Starship is a versatile shell, sometimes you need to do more than edit `starship.toml` to get it to do certain things. This page details some of the more advanced configuration techniques used in starship.
::: تحذير
The configurations in this section are subject to change in future releases of Starship.
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt in PowerShell
File diff suppressed because it is too large Load Diff
+7 -4
View File
@@ -229,10 +229,13 @@ curl -sS https://starship.rs/install.sh | sh
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS +7 | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora +40 | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
أضف ما يلي إلى نهاية الملف `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
ملاحظة: فقط +Elvish v0.18 مدعوم
ملاحظة: فقط +Elvish v0.18 مدعوم. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -405,7 +408,7 @@ If you're looking to further customize Starship:
## 🤝 المساهمة
نبحث دائماً عن مساهمين من **جميع المستويات**! إذا كنت تتطلع إلى تسهيل طريقك إلى المشروع، جرب [إنشاء اول مشكلة](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
نبحث دائماً عن مساهمين من **جميع المستويات**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
إذا كنت تتحدث بطلاقة بلغة غير إنجليزية، فإننا نقدر أي مساعدة للحفاظ على ترجمة المستندات وتحديثها بلغات أخرى. إذا كنت ترغب في المساعدة، يمكن المساهمة بالترجمة على [Starship Crowdin](https://translate.starship.rs/).
+7 -5
View File
@@ -14,11 +14,7 @@ This preset changes the symbols for each module to use Nerd Font symbols.
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
::: tip
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[Click to view No Nerd Font preset](./no-nerd-font)
@@ -75,3 +71,9 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
This is a pseudo minimalist preset inspired by the [geometry](https://github.com/geometry-zsh/geometry) and [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) prompts.
[![Screenshot of Jetpack preset](/presets/img/jetpack.png "Click to view Jetpack preset")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
@@ -0,0 +1,28 @@
[Return to Presets](./#catppuccin-powerline)
# Catppuccin Powerline Preset
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png)
### المتطلبات الأساسية
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
### Configuration
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
By default this preset uses the Mocha flavour of Catppucin, but you can specify any of the flavours by modifying the value of `palette`:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macchiato`
- `catppuccin_latte`
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pure)
[Return to Presets](./#pure-prompt)
# Pure Preset
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pastel-powerline)
[Return to Presets](./#tokyo-night)
# Tokyo Night Preset
+4 -11
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
Only elvish v0.18 or higher is supported.
:::
`~/.elvish/rc.elv` এর শেষে নিম্নলিখিত লাইন টি যোগ করুন:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,11 +161,7 @@ onMounted(() => {
#### Nushell
::: warning
This will change in the future. Only Nushell v0.96+ is supported.
:::
> [!WARNING] This will change in the future. Only Nushell v0.96+ is supported.
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+1 -5
View File
@@ -2,11 +2,7 @@
While Starship is a versatile shell, sometimes you need to do more than edit `starship.toml` to get it to do certain things. This page details some of the more advanced configuration techniques used in starship.
::: warning
The configurations in this section are subject to change in future releases of Starship.
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt in PowerShell
File diff suppressed because it is too large Load Diff
+8 -5
View File
@@ -229,10 +229,13 @@ curl -sS https://starship.rs/install.sh | sh
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
`~/.elvish/rc.elv` এর শেষে নিম্নলিখিত লাইন টি যোগ করুন:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
বিঃদ্রঃ শুধুমাত্র Elvish v0.18+ কাজ করবে ।
Note: Only Elvish v0.18+ is supported. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -345,7 +348,7 @@ mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
```
Note: Only Nushell v0.96+ is supported
বিঃদ্রঃ শুধুমাত্র Nushell v0.96+ কাজ করবে ।
</details>
@@ -405,7 +408,7 @@ eval "$(starship init zsh)"
## 🤝 নিজে অবদান রাখুন
আমরা সবসময় **সকল দক্ষতা স্তরের** অবদানকারীদের খুঁজছি! আপনি যদি সহজ ভাবে এই প্রোজেক্টে অবদান রাখতে চান তাইলে ["good first issue"](https://github.com/starship/starship/labels/🌱%20good%20first%20issue) গুলির সমাধান করার চেষ্টা করতে পারেন ।
আমরা সবসময় **সকল দক্ষতা স্তরের** অবদানকারীদের খুঁজছি! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
আপনি যদি ইংরেজি ছাড়া অন্য কোন ভাষায় সাবলীল হন, তাহলে আপনি আমাদের ডকুমেন্টেশন অনুবাদে এবং আপ-টু-ডেট রাখতে সহায়তা করতে পারেন, আমরা খুবই কৃতজ্ঞ হব । যদি এক্ষেত্রে সাহায্য করতে চান, তাহলে [Starship Crowdin](https://translate.starship.rs/) পেইজ এ গিয়ে আপনার অনুবাদ গুলি যোগ করতে পারবেন ।
+7 -5
View File
@@ -14,11 +14,7 @@ This preset changes the symbols for each module to use Nerd Font symbols.
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
::: tip
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[Click to view No Nerd Font preset](./no-nerd-font)
@@ -75,3 +71,9 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
This is a pseudo minimalist preset inspired by the [geometry](https://github.com/geometry-zsh/geometry) and [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) prompts.
[![Screenshot of Jetpack preset](/presets/img/jetpack.png "Click to view Jetpack preset")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
@@ -0,0 +1,28 @@
[Return to Presets](./#catppuccin-powerline)
# Catppuccin Powerline Preset
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png)
### পূর্বশর্ত
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
### Configuration
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
By default this preset uses the Mocha flavour of Catppucin, but you can specify any of the flavours by modifying the value of `palette`:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macchiato`
- `catppuccin_latte`
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pure)
[Return to Presets](./#pure-prompt)
# Pure Preset
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pastel-powerline)
[Return to Presets](./#tokyo-night)
# Tokyo Night Preset
+4 -11
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
Only elvish v0.18 or higher is supported.
:::
ئەمەی خوارەوە زیادبکە لە کۆتایی `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,11 +161,7 @@ onMounted(() => {
#### Nushell
::: warning
This will change in the future. Only Nushell v0.96+ is supported.
:::
> [!WARNING] This will change in the future. Only Nushell v0.96+ is supported.
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+1 -5
View File
@@ -2,11 +2,7 @@
لەگەڵ ئەوەی Starship شێڵێکە بەکارهێنانی زۆرە، هەندێک جار دەسکاری کردنی `starship.toml` بەس نییە بۆ ئەوەی وای لێبکەی هەندێک شتی دیاریکراو ئەنجام بدات. ئەم پەڕەیە ووردەکاری زیاتر ئەدات لەسەر هەندێک لە شێوازە ڕێکخستنە پێشکەوتووترەکان کە لە Starshipـدا بەکارهاتووە.
::: ئاگادارکردنەوە
ڕێکخستنەکانی ئەم بەشە شایەنی گۆڕانن لە وەشانەکانی داهاتووی Starshipدا.
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt in PowerShell
File diff suppressed because it is too large Load Diff
+7 -4
View File
@@ -225,10 +225,13 @@ Alternatively, install Starship using any of the following package managers:
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -299,13 +302,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
ئەمەی خوارەوە زیادبکە لە کۆتایی `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
Note: Only Elvish v0.18+ is supported
Note: Only Elvish v0.18+ is supported. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -401,7 +404,7 @@ If you're looking to further customize Starship:
## 🤝 بەژداریکردن
ئێمە هەموو کات ئەگەڕێین بۆ بەژداریکەرێک لە هەر **ئاست و توانایەکدا بێت**! ئەگەر بەدوای ئەوەوەی کە بێیتە ئەم پڕۆژەیەوە [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue) تاقیبکەرەوە.
ئێمە هەموو کات ئەگەڕێین بۆ بەژداریکەرێک لە هەر **ئاست و توانایەکدا بێت**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
ئەگەر پاراویت لە زمانێک جگە لە ئینگلیزی، ئێمە زۆر خۆشحاڵدەبین بە هەر یارمەتییەک کە بەڵگەنامەکانمان بە وەرگێڕدراوی بهێڵێتەوە و نوێکراوی بهێڵێتەوە بە زمانەکانی دیکە. ئەگەر نیازت هەیە یارمەتی بدەیت، ئەتوانی بەژداری لە وەرگێڕاندا بکەیت لەسەر [Starship Crowdin](https://translate.starship.rs/).
+7 -5
View File
@@ -14,11 +14,7 @@ This preset changes the symbols for each module to use Nerd Font symbols.
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
::: tip
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[Click to view No Nerd Font preset](./no-nerd-font)
@@ -75,3 +71,9 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
This is a pseudo minimalist preset inspired by the [geometry](https://github.com/geometry-zsh/geometry) and [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) prompts.
[![Screenshot of Jetpack preset](/presets/img/jetpack.png "Click to view Jetpack preset")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
@@ -0,0 +1,28 @@
[Return to Presets](./#catppuccin-powerline)
# Catppuccin Powerline Preset
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png)
### پێشمەرجەکان
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
### ڕێکخستن
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
By default this preset uses the Mocha flavour of Catppucin, but you can specify any of the flavours by modifying the value of `palette`:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macchiato`
- `catppuccin_latte`
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pure)
[Return to Presets](./#pure-prompt)
# Pure Preset
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pastel-powerline)
[Return to Presets](./#tokyo-night)
# Tokyo Night Preset
+343 -270
View File
@@ -221,12 +221,9 @@ This is the list of prompt-wide configuration options.
| `palettes` | `{}` | Collection of color palettes that assign [colors](../advanced-config/#style-strings) to user-defined names. Note that color palettes cannot reference their own color definitions. |
| `follow_symlinks` | `true` | Follows symlinks to check if they're directories; used in modules such as git. |
::: tip
If you have symlinks to networked filesystems, consider setting
`follow_symlinks` to `false`.
:::
> [!TIP]
> If you have symlinks to networked filesystems, consider setting
> `follow_symlinks` to `false`.
### Example
@@ -281,6 +278,7 @@ $git_state\
$git_metrics\
$git_status\
$hg_branch\
$hg_state\
$pijul_channel\
$docker_context\
$package\
@@ -295,6 +293,7 @@ $elixir\
$elm\
$erlang\
$fennel\
$fortran\
$gleam\
$golang\
$guix_shell\
@@ -466,6 +465,10 @@ Enterprise_Naming_Scheme-voidstars = 'void**'
The `azure` module shows the current Azure Subscription. This is based on showing the name of the default subscription or the username, as defined in the `~/.azure/azureProfile.json` file.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Variable | Default | Description |
@@ -687,15 +690,13 @@ file.
| symbol | | Mirrors the value of option `symbol` |
| style | | Mirrors the value of option `style` |
NB that `version` is not in the default format.
### Commands
The `commands` option accepts a list of commands to determine the compiler version and name.
Each command is represented as a list of the executable name, followed by its arguments, usually something like `['mycc', '--version']`. Starship will try executing each command until it gets a result on STDOUT.
If a C compiler is not supported by this module, you can request it by [raising an issue on GitHub](https://github.com/starship/starship/).
If a C compiler is not supported by this module, you can request it by [raising an issue on GitHub](https://github.com/starship/starship/issues/new/choose).
### Example
@@ -711,6 +712,10 @@ format = 'via [$name $version]($style)'
The `cpp` module shows some information about your `C++` compiler. By default,
the module will be shown if the current directory contains a `.cpp`, `.hpp`, or other `C++`-related files.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -734,15 +739,13 @@ the module will be shown if the current directory contains a `.cpp`, `.hpp`, or
| symbol | | Mirrors the value of option `symbol` |
| style | | Mirrors the value of option `style` |
NB that `version` is not in the default format.
### Commands
The `commands` option accepts a list of commands to determine the compiler version and name.
Each command is represented as a list of the executable name, followed by its arguments, usually something like `['mycpp', '--version']`. Starship will try executing each command until it gets a result on STDOUT.
If a C++ compiler is not supported by this module, you can request it by [raising an issue on GitHub](https://github.com/starship/starship/).
If a C++ compiler is not supported by this module, you can request it by [raising an issue on GitHub](https://github.com/starship/starship/issues/new/choose).
### Example
@@ -768,13 +771,10 @@ can do this in two ways:
By default it only changes color. If you also want to change its shape take a
look at [this example](#with-custom-error-shape).
::: warning
`vimcmd_symbol` is only supported in cmd, fish and zsh.
`vimcmd_replace_one_symbol`, `vimcmd_replace_symbol`, and `vimcmd_visual_symbol`
are only supported in fish due to [upstream issues with mode detection in zsh](https://github.com/starship/starship/issues/625#issuecomment-732454148).
:::
> [!WARNING]
> `vimcmd_symbol` is only supported in cmd, fish and zsh.
> `vimcmd_replace_one_symbol`, `vimcmd_replace_symbol`, and `vimcmd_visual_symbol`
> are only supported in fish due to [upstream issues with mode detection in zsh](https://github.com/starship/starship/issues/625#issuecomment-732454148).
### Options
@@ -894,12 +894,11 @@ The `cmd_duration` module shows how long the last command took to execute.
The module will be shown only if the command took longer than two seconds, or
the `min_time` config value, if it exists.
::: warning Do not hook the DEBUG trap in Bash
If you are running Starship in `bash`, do not hook the `DEBUG` trap after running
`eval $(starship init $0)`, or this module **will** break.
:::
> [!WARNING]
> Do not hook the DEBUG trap in Bash
>
> If you are running Starship in `bash`, do not hook the `DEBUG` trap after running
> `eval $(starship init $0)`, or this module **will** break.
Bash users who need preexec-like functionality can use
[rcaloras's bash_preexec framework](https://github.com/rcaloras/bash-preexec).
@@ -942,12 +941,9 @@ format = 'underwent [$duration](bold yellow)'
The `conda` module shows the current [Conda](https://docs.conda.io/en/latest/) environment, if `$CONDA_DEFAULT_ENV` is set.
::: tip
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`.
:::
> [!TIP]
> 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 shell.change-ps1 false`.
### Options
@@ -1268,6 +1264,10 @@ truncation_symbol = '…/'
The `direnv` module shows the status of the current rc file if one is present. The status includes the path to the rc file, whether it is loaded, and whether it has been allowed by `direnv`.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -1317,16 +1317,16 @@ the context in use).
### Options
| Option | Default | Description |
| ------------------- | ------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| `format` | `'via [$symbol$context]($style) '` | The format for the module. |
| `symbol` | `'🐳 '` | The symbol used before displaying the Docker context. |
| `only_with_files` | `true` | Only show when there's a match |
| `detect_extensions` | `[]` | Which extensions should trigger this module (needs `only_with_files` to be true). |
| `detect_files` | `['docker-compose.yml', 'docker-compose.yaml', 'Dockerfile']` | Which filenames should trigger this module (needs `only_with_files` to be true). |
| `detect_folders` | `[]` | Which folders should trigger this module (needs `only_with_files` to be true). |
| `style` | `'blue bold'` | The style for the module. |
| `disabled` | `false` | Disables the `docker_context` module. |
| Option | Default | Description |
| ------------------- | -------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
| `format` | `'via [$symbol$context]($style) '` | The format for the module. |
| `symbol` | `'🐳 '` | The symbol used before displaying the Docker context. |
| `only_with_files` | `true` | Only show when there's a match |
| `detect_extensions` | `[]` | Which extensions should trigger this module (needs `only_with_files` to be true). |
| `detect_files` | `['compose.yml', 'compose.yaml', 'docker-compose.yml', 'docker-compose.yaml', 'Dockerfile']` | Which filenames should trigger this module (needs `only_with_files` to be true). |
| `detect_folders` | `[]` | Which folders should trigger this module (needs `only_with_files` to be true). |
| `style` | `'blue bold'` | The style for the module. |
| `disabled` | `false` | Disables the `docker_context` module. |
### Variables
@@ -1503,29 +1503,23 @@ The module will be shown only if any of the following conditions are met:
- The `variable` configuration option matches an existing environment variable
- The `variable` configuration option is not defined, but the `default` configuration option is
::: tip
> [!TIP]
> The order in which env_var modules are shown can be individually set by including
> `${env_var.foo}` in the top level `format` (as it includes a dot, you need to use `${...}`).
> By default, the `env_var` module will simply show all env_var modules in the order they were defined.
The order in which env_var modules are shown can be individually set by including
`${env_var.foo}` in the top level `format` (as it includes a dot, you need to use `${...}`).
By default, the `env_var` module will simply show all env_var modules in the order they were defined.
:::
::: tip
Multiple environmental variables can be displayed by using a `.`. (see example)
If the `variable` configuration option is not set, the module will display value of variable under the name of text after the `.` character.
Example: following configuration will display value of USER environment variable
```toml
# ~/.config/starship.toml
[env_var.USER]
default = 'unknown user'
```
:::
> [!TIP]
> Multiple environmental variables can be displayed by using a `.`. (see example)
> If the `variable` configuration option is not set, the module will display value of variable under the name of text after the `.` character.
>
> Example: following configuration will display value of USER environment variable
>
> ```toml
> # ~/.config/starship.toml
>
> [env_var.USER]
> default = 'unknown user'
> ```
### Options
@@ -1680,10 +1674,51 @@ Produces a prompt that looks like:
AA -------------------------------------------- BB -------------------------------------------- CC
```
## Fortran
The `fortran` module shows the current compiler version of Fortran.
### Options
| Option | Default | Description |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `symbol` | `' '` | The symbol used before displaying the version of COBOL. |
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
| `version_format` | `'${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `style` | `'bold purple'` | The style for the module. |
| `detect_extensions` | `['f', 'F', 'for', 'FOR', 'ftn', 'FTN', 'f77', 'F77', 'f90', 'F90', 'f95', 'F95','f03', 'F03', 'f08', 'F08', 'f18', 'F18']` | Which extensions should trigger this module. |
| `detect_files` | `['fpm.toml']` | Which filenames should trigger this module. |
| `detect_folders` | `[]` | Which folders should trigger this module. |
| `commands` | `[ [ 'gfortran', '--version' ], [ 'flang', '--version' ], [ 'flang-new', '--version' ] ]` | How to detect what the compiler is |
| `disabled` | `false` | Disables the `fortran` module. |
### Variables
| Variable | Example | Description |
| -------- | -------- | ------------------------------------ |
| name | gfortran | The name of the compiler |
| version | `14.2.0` | The version of the Fortran compiler |
| 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
### Commands
The `commands` option accepts a list of commands to determine the compiler version and name.
Each command is represented as a list of the executable name, followed by its arguments, usually something like `['myfortran', '--version']`. Starship will try executing each command until it gets a result on STDOUT.
If a Fortran compiler is not supported by this module, you can request it by [raising an issue on GitHub](https://github.com/starship/starship/).
## Fossil Branch
The `fossil_branch` module shows the name of the active branch of the check-out in your current directory.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -1720,6 +1755,10 @@ truncation_symbol = ''
The `fossil_metrics` module will show the number of added and deleted lines in the check-out in your current directory. At least v2.14 (2021-01-20) of Fossil is required.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -1846,6 +1885,7 @@ The `git_branch` module shows the active branch of the repo in your current dire
| `truncation_symbol` | `'…'` | The symbol used to indicate a branch name was truncated. You can use `''` for no symbol. |
| `only_attached` | `false` | Only show the branch name when not in a detached `HEAD` state. |
| `ignore_branches` | `[]` | A list of names to avoid displaying. Useful for 'master' or 'main'. |
| `ignore_bare_repo` | `false` | Do not show when in a bare repo. |
| `disabled` | `false` | Disables the `git_branch` module. |
### Variables
@@ -1957,12 +1997,9 @@ cherry_pick = '[🍒 PICKING](bold red)'
The `git_metrics` module will show the number of added and deleted lines in
the current git repository.
::: tip
This module is disabled by default.
To enable it, set `disabled` to `false` in your configuration file.
:::
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
@@ -2001,12 +2038,9 @@ format = '[+$added]($added_style)/[-$deleted]($deleted_style) '
The `git_status` module shows symbols representing the state of the repo in your
current directory.
::: tip
The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment.
You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths.
:::
> [!TIP]
> The Git Status module is very slow in Windows directories (for example under `/mnt/c/`) when in a WSL environment.
> You can disable the module or use the `windows_starship` option to use a Windows-native Starship executable to compute `git_status` for those paths.
### Options
@@ -2019,7 +2053,7 @@ You can disable the module or use the `windows_starship` option to use a Windows
| `diverged` | `'⇕'` | The format of `diverged` |
| `up_to_date` | `''` | The format of `up_to_date` |
| `untracked` | `'?'` | The format of `untracked` |
| `stashed` | `'$'` | The format of `stashed` |
| `stashed` | `'\$'` | The format of `stashed` |
| `modified` | `'!'` | The format of `modified` |
| `staged` | `'+'` | The format of `staged` |
| `renamed` | `'»'` | The format of `renamed` |
@@ -2500,20 +2534,14 @@ The default functionality is:
- 1 job -> `symbol` is shown.
- 2 jobs or more -> `symbol` + `number` are shown.
::: warning
> [!WARNING]
> This module is not supported on tcsh.
This module is not supported on tcsh and nu.
:::
::: warning
The `threshold` option is deprecated, but if you want to use it,
the module will show the number of jobs running if there is more than 1 job, or
more than the `threshold` config value, if it exists. If `threshold` is set to 0,
then the module will also show when there are 0 jobs running.
:::
> [!WARNING]
> The `threshold` option is deprecated, but if you want to use it,
> the module will show the number of jobs running if there is more than 1 job, or
> more than the `threshold` config value, if it exists. If `threshold` is set to 0,
> then the module will also show when there are 0 jobs running.
### Options
@@ -2539,7 +2567,7 @@ then the module will also show when there are 0 jobs running.
*: This variable can only be used as a part of a style string
### Example
### Examples
```toml
# ~/.config/starship.toml
@@ -2550,6 +2578,14 @@ number_threshold = 4
symbol_threshold = 0
```
#### Changing process grouping behavior in fish
When using the Fish shell, Starship counts **job groups** instead of individual process IDs by default. This prevents overcounting when a pipeline has multiple processes but only one suspended group. To revert to the legacy PID-based counting, please add the following to your shell config:
```fish
set -g __starship_fish_use_job_groups "false"
```
## Julia
The `julia` module shows the currently installed version of [Julia](https://julialang.org/).
@@ -2648,26 +2684,20 @@ Similarly, the user and cluster can be set with `kubectl config set-context star
and `kubectl config set-context starship-context --cluster starship-cluster`.
If the `$KUBECONFIG` env var is set the module will use that if not it will use the `~/.kube/config`.
::: tip
This module is disabled by default.
To enable it, set `disabled` to `false` in your configuration file.
When the module is enabled it will always be active, unless any of
`detect_env_vars`, `detect_extensions`, `detect_files` or `detect_folders` have
been set in which case the module will only be active in directories that match
those conditions or one of the environmatal variable has been set.
:::
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
>
> When the module is enabled it will always be active, unless any of
> `detect_env_vars`, `detect_extensions`, `detect_files` or `detect_folders` have
> been set in which case the module will only be active in directories that match
> those conditions or one of the environmental variables has been set.
### Options
::: warning
The `context_aliases` and `user_aliases` options are deprecated. Use `contexts` and the corresponding `context_alias`
and `user_alias` options instead.
:::
> [!WARNING]
> The `context_aliases` and `user_aliases` options are deprecated. Use `contexts` and the corresponding `context_alias`
> and `user_alias` options instead.
| Option | Default | Description |
| ------------------- | -------------------------------------------------- | --------------------------------------------------------------------- |
@@ -2794,6 +2824,10 @@ disabled = true
The `localip` module shows the IPv4 address of the primary network interface.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -2871,12 +2905,9 @@ The `memory_usage` module shows current system memory and swap usage.
By default the swap usage is displayed if the total system swap is non-zero.
::: tip
This module is disabled by default.
To enable it, set `disabled` to `false` in your configuration file.
:::
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
@@ -2957,6 +2988,10 @@ style = 'bold dimmed green'
The `hg_branch` module shows the active branch and topic of the repo in your current directory.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -2990,10 +3025,51 @@ truncation_length = 4
truncation_symbol = ''
```
## Mercurial State
The `hg_state` module will show in directories which are part of a mercurial
repository, and where there is an operation in progress, such as: _REBASING_,
_BISECTING_, etc.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
| ------------ | ------------------------- | ------------------------------------------------------------- |
| `merge` | `'MERGING'` | A format string displayed when a `merge` is in progress. |
| `rebase` | `'REBASING'` | A format string displayed when a `rebase` is in progress. |
| `update` | `'UPDATING'` | A format string displayed when a `update` is in progress. |
| `bisect` | `'BISECTING'` | A format string displayed when a `bisect` is in progress. |
| `shelve` | `'SHELVING'` | A format string displayed when a `shelve` is in progress. |
| `graft` | `'GRAFTING'` | A format string displayed when a `graft` is in progress. |
| `transplant` | `'TRANSPLANTING'` | A format string displayed when a `transplant` is in progress. |
| `histedit` | `'HISTEDITING'` | A format string displayed when a `histedit` is in progress. |
| `style` | `'bold yellow'` | The style for the module. |
| `format` | `'\([$state]($style)\) '` | The format for the module. |
| `disabled` | `true` | Disables the `hg_state` module. |
### Variables
| Variable | Example | Description |
| ---------------- | ---------- | ----------------------------------- |
| state | `REBASING` | The current state of the repo |
| progress_current | `1` | The current operation progress |
| progress_total | `2` | The total operation progress |
| style\* | | Mirrors the value of option `style` |
*: This variable can only be used as a part of a style string
## Mise
The `mise` module shows the current mise health as reported by running `mise doctor`.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -3307,16 +3383,16 @@ The `odin` module shows the currently installed version of [Odin](https://odin-l
### Options
| Option | Default | Description |
| ------------------- | ------------------------------------ | ----------------------------------------------------- |
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
| `show_commit` | `false` | Shows the commit as part of the version. |
| `symbol` | `'Ø '` | The symbol used before displaying the version of Zig. |
| `style` | `'bold bright-blue'` | The style for the module. |
| `disabled` | `false` | Disables the `odin` module. |
| `detect_extensions` | `['odin']` | Which extensions should trigger this module. |
| `detect_files` | `[]` | Which filenames should trigger this module. |
| `detect_folders` | `[]` | Which folders should trigger this module. |
| Option | Default | Description |
| ------------------- | ------------------------------------ | ------------------------------------------------------ |
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
| `show_commit` | `false` | Shows the commit as part of the version. |
| `symbol` | `'Ø '` | The symbol used before displaying the version of Odin. |
| `style` | `'bold bright-blue'` | The style for the module. |
| `disabled` | `false` | Disables the `odin` module. |
| `detect_extensions` | `['odin']` | Which extensions should trigger this module. |
| `detect_files` | `[]` | Which filenames should trigger this module. |
| `detect_folders` | `[]` | Which folders should trigger this module. |
### Variables
@@ -3418,18 +3494,12 @@ symbol = '☁️ '
The `os` module shows the current operating system.
OS information is detected via the [os_info](https://lib.rs/crates/os_info) crate.
::: warning
> [!WARNING]
> The [os_info](https://lib.rs/crates/os_info) crate used by this module is known to be inaccurate on some systems.
The [os_info](https://lib.rs/crates/os_info) crate used by this module is known to be inaccurate on some systems.
:::
::: tip
This module is disabled by default.
To enable it, set `disabled` to `false` in your configuration file.
:::
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
@@ -3454,6 +3524,7 @@ AlmaLinux = "💠 "
Alpine = "🏔️ "
Amazon = "🙂 "
Android = "🤖 "
AOSC = "🐱 "
Arch = "🎗️ "
Artix = "🎗️ "
Bluefin = "🐟 "
@@ -3497,7 +3568,7 @@ Ubuntu = "🎯 "
Ultramarine = "🔷 "
Unknown = "❓ "
Uos = "🐲 "
Void = " "
Void = " "
Windows = "🪟 "
```
@@ -3534,7 +3605,7 @@ Arch = "Arch is the best! "
The `package` module is shown when the current directory is the repository for a
package, and shows its current version. The module currently supports `npm`, `nimble`, `cargo`,
`poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `daml` and `dart` packages.
`poetry`, `python`, `composer`, `gradle`, `julia`, `mix`, `helm`, `shards`, `galaxy`, `daml` and `dart` packages.
- [**npm**](https://docs.npmjs.com/cli/commands/npm) The `npm` package version is extracted from the `package.json` present
in the current directory
@@ -3553,6 +3624,7 @@ package, and shows its current version. The module currently supports `npm`, `ni
- [**Maven**](https://maven.apache.org/) - The `maven` package version is extracted from the `pom.xml` present in the current directory
- [**Meson**](https://mesonbuild.com/) - The `meson` package version is extracted from the `meson.build` present in the current directory
- [**Shards**](https://crystal-lang.org/reference/the_shards_command/index.html) - The `shards` package version is extracted from the `shard.yml` present in the current directory
- [**Galaxy**](https://galaxy.ansible.com/) - The `galaxy` package version is extracted from the `galaxy.yml` present in the current directory
- [**V**](https://vlang.io) - The `vlang` package version is extracted from the `v.mod` present in the current directory
- [**SBT**](https://scala-sbt.org) - The `sbt` package version is extracted from the `build.sbt` present in the current directory
- [**Daml**](https://www.digitalasset.com/developers) - The `daml` package version is extracted from the `daml.yaml` present in the current directory
@@ -3677,6 +3749,10 @@ format = 'via [🔹 $version](147 bold) '
The `pijul_channel` module shows the active channel of the repo in your current directory.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -3692,11 +3768,8 @@ The `pijul_channel` module shows the active channel of the repo in your current
The `pixi` module shows the installed [pixi](https://pixi.sh) version as well as the activated environment, if `$PIXI_ENVIRONMENT_NAME` is set.
::: tip
This does not suppress pixi's own prompt modifier, you may want to run `pixi config set change-ps1 false`.
:::
> [!TIP]
> This does not suppress pixi's own prompt modifier, you may want to run `pixi config set shell.change-ps1 false`.
### Options
@@ -3705,12 +3778,12 @@ This does not suppress pixi's own prompt modifier, you may want to run `pixi con
| `format` | `'via [$symbol($version )(\($environment\) )]($style)'` | The format for the module. |
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch`. |
| `symbol` | `'🧚 '` | The symbol used before the environment name. |
| `style` | `'yellow bold' | The style for the module. |
| `style` | `'yellow bold'` | The style for the module. |
| `show_default_environment` | `true` | Whether to indicate that the `default` environment of your project is activated. |
| `pixi_binary` | `['pixi']` | Configures the pixi binary that Starship should execute when getting the version. |
| `detect_extensions` | `[]` | Which extensions should trigger this module. |
| `detect_files` | `['pixi.toml']` | Which filenames should trigger this module. |
| `detect_folders` | `['.pixi']` | Which folders should trigger this module. |
| `detect_folders` | `[]` | Which folders should trigger this module. |
| `disabled` | `false` | Disables the `pixi` module. |
### Variables
@@ -3735,12 +3808,9 @@ format = '[$symbol$environment](yellow) '
The `pulumi` module shows the current username, selected [Pulumi Stack](https://www.pulumi.com/docs/intro/concepts/stack/), and version.
::: tip
By default the Pulumi version is not shown, since it takes an order of magnitude longer to load then most plugins (~70ms).
If you still want to enable it, [follow the example shown below](#with-pulumi-version).
:::
> [!TIP]
> By default the Pulumi version is not shown, since it takes an order of magnitude longer to load then most plugins (~70ms).
> If you still want to enable it, [follow the example shown below](#with-pulumi-version).
By default the module will be shown if any of the following conditions are met:
@@ -3869,23 +3939,20 @@ By default, the module will be shown if any of the following conditions are met:
| `detect_folders` | `[]` | Which folders should trigger this module |
| `disabled` | `false` | Disables the `python` module. |
::: tip
The `python_binary` variable accepts either a string or a list of strings.
Starship will try executing each binary until it gets a result. Note you can
only change the binary that Starship executes to get the version of Python not
the arguments that are used.
The default values and order for `python_binary` was chosen to first identify
the Python version in a virtualenv/conda environments (which currently still
add a `python`, no matter if it points to `python3` or `python2`). This has the
side effect that if you still have a system Python 2 installed, it may be
picked up before any Python 3 (at least on Linux Distros that always symlink
`/usr/bin/python` to Python 2). If you do not work with Python 2 anymore but
cannot remove the system Python 2, changing this to `'python3'` will hide any
Python version 2, see example below.
:::
> [!TIP]
> The `python_binary` variable accepts either a string or a list of strings.
> Starship will try executing each binary until it gets a result. Note you can
> only change the binary that Starship executes to get the version of Python not
> the arguments that are used.
>
> The default values and order for `python_binary` was chosen to first identify
> the Python version in a virtualenv/conda environments (which currently still
> add a `python`, no matter if it points to `python3` or `python2`). This has the
> side effect that if you still have a system Python 2 installed, it may be
> picked up before any Python 3 (at least on Linux Distros that always symlink
> `/usr/bin/python` to Python 2). If you do not work with Python 2 anymore but
> cannot remove the system Python 2, changing this to `'python3'` will hide any
> Python version 2, see example below.
### Variables
@@ -4209,12 +4276,9 @@ symbol = '🌟 '
The `shell` module shows an indicator for currently used shell.
::: tip
This module is disabled by default.
To enable it, set `disabled` to `false` in your configuration file.
:::
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
@@ -4263,6 +4327,10 @@ disabled = false
The `shlvl` module shows the current [`SHLVL`](https://tldp.org/LDP/abs/html/internalvariables.html#SHLVLREF) ('shell level') environment variable, if it is
set to a number and meets or exceeds the specified threshold.
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
| Option | Default | Description |
@@ -4305,11 +4373,10 @@ status code and preceding characters are provided by `shlvl`.
[shlvl]
disabled = false
format = '[$symbol$shlvl]($style)'
format = '[$symbol]($style)'
repeat = true
symbol = ''
repeat_offset = 1
threshold = 0
```
## Singularity
@@ -4423,12 +4490,9 @@ The `status` module displays the exit code of the previous command.
If $success_symbol is empty (default), the module will be shown only if the exit code is not `0`.
The status code will cast to a signed 32-bit integer.
::: tip
This module is disabled by default.
To enable it, set `disabled` to `false` in your configuration file.
:::
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
@@ -4488,12 +4552,9 @@ disabled = false
The `sudo` module displays if sudo credentials are currently cached.
The module will only be shown if credentials are cached.
::: tip
This module is disabled by default.
To enable it, set `disabled` to `false` in your configuration file.
:::
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
@@ -4577,13 +4638,11 @@ format = 'via [🏎 $version](red bold)'
## Terraform
The `terraform` module shows the currently selected [Terraform workspace](https://www.terraform.io/docs/language/state/workspaces.html) and version.
It supports both Hashicorp Terraform and OpenTofu for version detection.
::: tip
By default the Terraform version is not shown, since this is slow for current versions of Terraform when a lot of plugins are in use.
If you still want to enable it, [follow the example shown below](#with-terraform-version).
:::
> [!TIP]
> By default the Terraform/OpenTofu version is not shown, since this is slow for current versions when a lot of plugins are in use.
> If you still want to enable it, [follow the example shown below](#with-terraform-version).
By default the module will be shown if any of the following conditions are met:
@@ -4592,16 +4651,17 @@ By default the module will be shown if any of the following conditions are met:
### Options
| Option | Default | Description |
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
| `format` | `'via [$symbol$workspace]($style) '` | The format string for the module. |
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `symbol` | `'💠'` | A format string shown before the terraform workspace. |
| `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | Which extensions should trigger this module. |
| `detect_files` | `[]` | Which filenames should trigger this module. |
| `detect_folders` | `['.terraform']` | Which folders should trigger this module. |
| `style` | `'bold 105'` | The style for the module. |
| `disabled` | `false` | Disables the `terraform` module. |
| Option | Default | Description |
| ------------------- | ------------------------------------------------------- | ------------------------------------------------------------------------- |
| `format` | `'via [$symbol$workspace]($style) '` | The format string for the module. |
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `symbol` | `'💠'` | A format string shown before the terraform workspace. |
| `detect_extensions` | `['tf', 'tfplan', 'tfstate']` | Which extensions should trigger this module. |
| `detect_files` | `[]` | Which filenames should trigger this module. |
| `detect_folders` | `['.terraform']` | Which folders should trigger this module. |
| `style` | `'bold 105'` | The style for the module. |
| `disabled` | `false` | Disables the `terraform` module. |
| `commands` | `[ [ 'terraform', 'version' ], [ 'tofu', 'version' ] ]` | How to detect what the Terraform version is. |
### Variables
@@ -4622,7 +4682,7 @@ By default the module will be shown if any of the following conditions are met:
# ~/.config/starship.toml
[terraform]
format = '[🏎💨 $version$workspace]($style) '
format = 'via [$symbol$version $workspace]($style) '
```
#### Without Terraform version
@@ -4631,7 +4691,7 @@ format = '[🏎💨 $version$workspace]($style) '
# ~/.config/starship.toml
[terraform]
format = '[🏎💨 $workspace]($style) '
format = 'via [$symbol$workspace]($style) '
```
## Time
@@ -4639,12 +4699,9 @@ format = '[🏎💨 $workspace]($style) '
The `time` module shows the current **local** time.
The `format` configuration value is used by the [`chrono`](https://crates.io/crates/chrono) crate to control how the time is displayed. Take a look [at the chrono strftime docs](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) to see what options are available.
::: tip
This module is disabled by default.
To enable it, set `disabled` to `false` in your configuration file.
:::
> [!TIP]
> This module is disabled by default.
> To enable it, set `disabled` to `false` in your configuration file.
### Options
@@ -4727,13 +4784,10 @@ The module will be shown if any of the following conditions are met:
- The variable `show_always` is set to true
- The array `detect_env_vars` contains at least the name of one environment variable, that is set
::: tip
SSH connection is detected by checking environment variables
`SSH_CONNECTION`, `SSH_CLIENT`, and `SSH_TTY`. If your SSH host does not set up
these variables, one workaround is to set one of them with a dummy value.
:::
> [!TIP]
> SSH connection is detected by checking environment variables
> `SSH_CONNECTION`, `SSH_CLIENT`, and `SSH_TTY`. If your SSH host does not set up
> these variables, one workaround is to set one of them with a dummy value.
### Options
@@ -4879,6 +4933,36 @@ The module will be shown only if a repository is currently in use.
format = '[🆅 $repo](bold blue) '
```
## XMake
The `xmake` module shows the currently installed version of [XMake](https://xmake.io/). By default
the module will be activated if any of the following conditions are met:
- The current directory contains a `xmake.lua` file
### Options
| Option | Default | Description |
| ------------------- | ------------------------------------ | ------------------------------------------------------------------------- |
| `format` | `'via [$symbol($version )]($style)'` | The format for the module. |
| `version_format` | `'v${raw}'` | The version format. Available vars are `raw`, `major`, `minor`, & `patch` |
| `symbol` | `'△ '` | The symbol used before the version of cmake. |
| `detect_extensions` | `[]` | Which extensions should trigger this module |
| `detect_files` | `['xmake.lua']` | Which filenames should trigger this module |
| `detect_folders` | `[]` | Which folders should trigger this module |
| `style` | `'bold green'` | The style for the module. |
| `disabled` | `false` | Disables the `xmake` module. |
### Variables
| Variable | Example | Description |
| -------- | -------- | ------------------------------------ |
| version | `v2.9.5` | The version of xmake |
| 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
## Zig
By default the `zig` module shows the currently installed version of [Zig](https://ziglang.org/).
@@ -4930,40 +5014,30 @@ These modules will be shown if any of the following conditions are met:
- The `when` command returns 0
- The current Operating System (std::env::consts::OS) matches with `os` field if defined.
::: tip
> [!TIP]
> Multiple custom modules can be defined by using a `.`.
Multiple custom modules can be defined by using a `.`.
> [!TIP]
> The order in which custom modules are shown can be individually set by including
> `${custom.foo}` in the top level `format` (as it includes a dot, you need to use `${...}`).
> By default, the `custom` module will simply show all custom modules in the order they were defined.
:::
> [!TIP]
> [Issue #1252](https://github.com/starship/starship/discussions/1252) contains examples of custom modules.
> If you have an interesting example not covered there, feel free to share it there!
::: tip
The order in which custom modules are shown can be individually set by including
`${custom.foo}` in the top level `format` (as it includes a dot, you need to use `${...}`).
By default, the `custom` module will simply show all custom modules in the order they were defined.
:::
::: tip
[Issue #1252](https://github.com/starship/starship/discussions/1252) contains examples of custom modules.
If you have an interesting example not covered there, feel free to share it there!
:::
::: warning If `unsafe_no_escape` is enabled or prior to starship v1.20 command output is printed unescaped to the prompt.
Whatever output the command generates is printed unmodified in the prompt. This means if the output
contains shell-specific interpretable sequences, they could be interpreted on display.
Depending on the shell, this can mean that e.g. strings enclosed by backticks are executed by the shell.
Such sequences are usually shell specific, e.g. you can write a command module that writes bash sequences,
e.g. `\h`, but this module will not work in a fish or zsh shell.
Format strings can also contain shell specific prompt sequences, e.g.
[Bash](https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html),
[Zsh](https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html).
:::
> [!WARNING]
> If `unsafe_no_escape` is enabled or prior to starship v1.20 command output is printed unescaped to the prompt.
>
> Whatever output the command generates is printed unmodified in the prompt. This means if the output
> contains shell-specific interpretable sequences, they could be interpreted on display.
> Depending on the shell, this can mean that e.g. strings enclosed by backticks are executed by the shell.
> Such sequences are usually shell specific, e.g. you can write a command module that writes bash sequences,
> e.g. `\h`, but this module will not work in a fish or zsh shell.
>
> Format strings can also contain shell specific prompt sequences, e.g.
> [Bash](https://www.gnu.org/software/bash/manual/html_node/Controlling-the-Prompt.html),
> [Zsh](https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html).
### Options
@@ -5019,28 +5093,27 @@ This behavior can be avoided by explicitly passing arguments to the shell, e.g.
shell = ['pwsh', '-Command', '-']
```
::: warning Make sure your custom shell configuration exits gracefully
If you set a custom command, make sure that the default Shell used by starship
will properly execute the command with a graceful exit (via the `shell`
option).
For example, PowerShell requires the `-Command` parameter to execute a one
liner. Omitting this parameter might throw starship into a recursive loop
where the shell might try to load a full profile environment with starship
itself again and hence re-execute the custom command, getting into a never
ending loop.
Parameters similar to `-NoProfile` in PowerShell are recommended for other
shells as well to avoid extra loading time of a custom profile on every
starship invocation.
Automatic detection of shells and proper parameters addition are currently
implemented, but it's possible that not all shells are covered.
[Please open an issue](https://github.com/starship/starship/issues/new/choose)
with shell details and starship configuration if you hit such scenario.
:::
> [!WARNING]
> Make sure your custom shell configuration exits gracefully
>
> If you set a custom command, make sure that the default Shell used by starship
> will properly execute the command with a graceful exit (via the `shell`
> option).
>
> For example, PowerShell requires the `-Command` parameter to execute a one
> liner. Omitting this parameter might throw starship into a recursive loop
> where the shell might try to load a full profile environment with starship
> itself again and hence re-execute the custom command, getting into a never
> ending loop.
>
> Parameters similar to `-NoProfile` in PowerShell are recommended for other
> shells as well to avoid extra loading time of a custom profile on every
> starship invocation.
>
> Automatic detection of shells and proper parameters addition are currently
> implemented, but it's possible that not all shells are covered.
> [Please open an issue](https://github.com/starship/starship/issues/new/choose)
> with shell details and starship configuration if you hit such scenario.
### Example
+4 -11
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
Es wird nur elvish v0.18 oder höher unterstützt.
:::
Trage folgendes am Ende von `~/.config/fish/rc.elv` ein:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,11 +161,7 @@ onMounted(() => {
#### Nushell
::: warning
Das wird sich in Zukunft ändern. Only Nushell v0.96+ is supported.
:::
> [!WARNING] This will change in the future. Nur Nushell v0.96+ wird unterstützt.
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+1 -5
View File
@@ -2,11 +2,7 @@
Auch wenn Starship eine vielseitige Shell ist, reichen manche Konfigurationen in der `starship.toml` nicht aus, um manche Sachen zu erreichen. Diese Seite beschreibt einige fortgeschrittene Konfigurationen für Starship.
::: warning
Die hier beschriebenen Konfigurationen werden sich mit kommenden Updates von Starship verändern.
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt in PowerShell
File diff suppressed because it is too large Load Diff
+10 -10
View File
@@ -1,4 +1,4 @@
# Frequently Asked Questions
# Häufig gestellte Fragen
## Wie ist die Konfiguration im Demo GIF?
@@ -10,15 +10,15 @@
- **Konfiguration**: [Matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
- **Prompt**: [Starship](https://starship.rs/)
## How do I get command completion as shown in the demo GIF?
## Wie bekomme ich die Autovervollständigung, wie sie im Demo-GIF gezeigt wird?
Completion support, or autocomplete, is provided by your shell of choice. In the case of the demo, the demo was done with [Fish Shell](https://fishshell.com/), which provides completions by default. If you use Z Shell (zsh), I'd suggest taking a look at [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions).
Autovervollständigung wird von der Shell deiner Wahl bereitgestellt. In der Demo wurde die [Fish Shell](https://fishshell.com/) benutzt, welche Standardmäßig eine Autovervollständigung beinhaltet. Wenn du die Z Shell (zsh) nutzt, empfehle ich dir, einen Blick auf [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions) zu werfen.
## Do top level `format` and `<module>.disabled` do the same thing?
## Bewirken Top Level `format` und `<module>.disabled` dasselbe?
Ja, beide können benutzt werden, um Module in der Prompt zu deaktivieren. Wenn nur Module deaktiviert werden wollen, sollte `<module>.disabled` benutzt werden, aus den folgenden Gründen:
- Disabling modules is more explicit than omitting them from the top level `format`
- Die Deaktivierung von Modulen ist expliziter, als nur das Weglassen vom Top Level `format`
- Mit der Aktualisierung von Starship werden neu erstellte Module an die Eingabezeile angefügt
## Die Dokumentation sagt, dass die Starship interkompatibel ist. Warum wird meine bevorzugte Shell nicht unterstützt?
@@ -48,9 +48,9 @@ starship prompt --help
Die Eingabeaufforderung verwendet so viel Kontext wie möglich, aber keine Flagge ist "notwendig".
## How do I run Starship on Linux distributions with older versions of glibc?
## Wie führe ich Starship auf Linux-Distributionen mit älteren Versionen von glibc aus?
If you get an error like "_version 'GLIBC_2.18' not found (required by starship)_" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:
Wenn Sie einen Fehler wie "_Version 'GLIBC_2 erhalten.' nicht gefunden (wird von starship benötigt)_" wenn das vorkompilierte Programm verwendet wird (zum Beispiel auf CentOS 6 oder 7), Sie können eine Binärdatei verwenden, die mit `musl` anstelle von `glibc` kompiliert wurde:
```sh
curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
@@ -60,13 +60,13 @@ curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
Starship executes different commands to get information to display in the prompt, for example the version of a program or the current git status. To make sure starship doesn't hang while trying to execute these commands we set a time limit, if a command takes longer than this limit starship will stop the execution of the command and output the above warning, this is expected behaviour. This time limit is configurable using the [`command_timeout`key](../config/#prompt) so if you want you can increase the time limit. You can also follow the debugging steps below to see which command is being slow and see if you can optimise it. Finally you can set the `STARSHIP_LOG` env var to `error` to hide these warnings.
## I see symbols I don't understand or expect, what do they mean?
## Ich sehe Symbole, die ich nicht verstehe oder erwarte, was bedeuten sie?
If you see symbols that you don't recognise you can use `starship explain` to explain the currently showing modules.
Wenn du Symbole siehst, die du nicht kennst, kannst du `starship explain` verwenden um die aktuell angezeigten Module erklären zu lassen.
## Starship is doing something unexpected, how can I debug it?
You can enable the debug logs by using the `STARSHIP_LOG` env var. These logs can be very verbose so it is often useful to use the `module` command if you are trying to debug a particular module, for example, if you are trying to debug the `rust` module you could run the following command to get the trace logs and output from the module.
Sie können die Debug-Logs aktivieren, indem Sie die `STARSHIP_LOG` Umgebungsvariable verwenden. These logs can be very verbose so it is often useful to use the `module` command if you are trying to debug a particular module, for example, if you are trying to debug the `rust` module you could run the following command to get the trace logs and output from the module.
```sh
env STARSHIP_LOG=trace starship module rust
+8 -5
View File
@@ -229,10 +229,13 @@ Alternatively, install Starship using any of the following package managers:
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
Trage folgendes am Ende von `~/.config/fish/rc.elv` ein:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
Note: Only Elvish v0.18+ is supported
Note: Only Elvish v0.18+ is supported. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -345,7 +348,7 @@ mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
```
Note: Only Nushell v0.96+ is supported
Beachte: Nushell wird erst ab v0.96+ unterstützt
</details>
@@ -405,7 +408,7 @@ Falls du Starship weiter anpassen möchtest:
## 🤝 Mitwirken
Wir sind immer auf der Suche nach Helfern **jeder Erfahrungsstufe**! Probleme mit dem Label [„Good first issues“](https://github.com/starship/starship/labels/🌱%20good%20first%20issue) sind der beste Weg, um dich mit dem Projekt vertraut zu machen.
Wir sind immer auf der Suche nach Helfern **jeder Erfahrungsstufe**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
Wenn du eine andere Sprache flüssig sprichts, würden wir uns sehr freuen wenn du helfen würdest die Dokumentation in anderen Sprachen auf dem aktuellsten Stand zu halten. Hier kannst du bei der Übersetzung helfen [Starship Crowdin](https://translate.starship.rs/).
+7 -5
View File
@@ -14,11 +14,7 @@ This preset changes the symbols for each module to use Nerd Font symbols.
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
::: tip
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[Click to view No Nerd Font preset](./no-nerd-font)
@@ -75,3 +71,9 @@ Diese Voreinstellung ist stark inspiriert von [Pastel Powerline](./pastel-powerl
This is a pseudo minimalist preset inspired by the [geometry](https://github.com/geometry-zsh/geometry) and [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) prompts.
[![Screenshot of Jetpack preset](/presets/img/jetpack.png "Click to view Jetpack preset")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
@@ -0,0 +1,28 @@
[Return to Presets](./#catppuccin-powerline)
# Catppuccin Powerline Preset
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png)
### Voraussetzungen
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
### Konfiguration
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
By default this preset uses the Mocha flavour of Catppucin, but you can specify any of the flavours by modifying the value of `palette`:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macchiato`
- `catppuccin_latte`
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[Zurück zu den Voreinstellungen](./#pure)
[Zurück zu den Voreinstellungen](./#pure-prompt)
# Pure Voreinstellung
+1 -1
View File
@@ -1,4 +1,4 @@
[Zurück zu den Voreinstellungen](./#pastel-powerline)
[Zurück zu den Voreinstellungen](./#tokyo-night)
# Tokyo Night Preset
+5 -12
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
Sólo se admite elvish v0.18 o superior.
:::
Añade el siguiente código al final de `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,13 +161,9 @@ onMounted(() => {
#### Nushell
::: warning
> [!WARNING] This will change in the future. Sólo se admite Nushell v0.96+.
Esto cambiará en el futuro. Only Nushell v0.96+ is supported.
:::
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
Agregue lo siguiente al final de su configuración de Nushell (encuéntrelo ejecutando `$nu.config-path` en Nushell):
```sh
mkdir ($nu.data-dir | path join "vendor/autoload")
+11 -15
View File
@@ -2,11 +2,7 @@
A pesar de que Starship es una prompt versátil, a veces necesitas hacer más que editar `starhip.toml` para que haga ciertas cosas. Esta página detalla algunas de las técnicas de configuración más avanzadas en Starship.
::: warning
Las configuraciones de esta sección están sujetos a cambios en futuras versiones de Starship.
:::
> [!ADVERTENCIA] Las configuraciones de esta sección están sujetas a cambios en futuras versiones de Starship.
## Prompt Transitoria en PowerShell
@@ -80,21 +76,21 @@ starship init fish | source
enable_transience
```
## TransientPrompt and TransientRightPrompt in Bash
## TransientPrompt y TransientRightPrompt en Bash
The [Ble.sh](https://github.com/akinomyoga/ble.sh) framework at v0.4 or higher allows you to replace the previous-printed prompt with custom strings. Esto es útil en los casos en que la información del prompt no es siempre necesaria. To enable this, put this in `~/.bashrc` `bleopt prompt_ps1_transient=<value>`:
El marco estructura [Ble.sh](https://github.com/akinomyoga/ble.sh) en v0.4 o superior le permite reemplazar el mensaje impreso previamente con cadenas personalizadas. Esto es útil en los casos en que la información del prompt no es siempre necesaria. Para habilitar esto, coloque esto en `~/.bashrc` `bleopt prompt_ps1_transient=<value>`:
The \<value\> here is a colon-separated list of `always`, `same-dir` and `trim`. When `prompt_ps1_final` is empty and the option `prompt_ps1_transient` has a non-empty \<value\>, the prompt specified by `PS1` is erased on leaving the current command line. If \<value\> contains a field `trim`, only the last line of multiline `PS1` is preserved and the other lines are erased. Otherwise, the command line will be redrawn as if `PS1=` is specified. When a field `same-dir` is contained in \<value\> and the current working directory is different from the final directory of the previous command line, this option `prompt_ps1_transient` is ignored.
El \<value\> aquí es una lista separada por dos puntos de `siempre`, `mismo-dir` y `recortar`. Cuando `prompt_ps1_final` está vacío y la opción `prompt_ps1_transient` tiene un \<value\> no vacío, el mensaje especificado por `PS1` se borra al salir de la línea de comando actual. Si \<value\> contiene un campo `trim`, solo se conserva la última línea de la multilínea `PS1` y las demás líneas se borran. De lo contrario, la línea de comando se volverá a dibujar como si se hubiera especificado `PS1=`. Cuando un campo `same-dir` está contenido en \<value\> y el directorio de trabajo actual es diferente del directorio final de la línea de comando anterior, esta opción `prompt_ps1_transient` se ignora.
Make the following changes to your `~/.blerc` (or in `~/.config/blesh/init.sh`) to customize what gets displayed on the left and on the right:
Realice los siguientes cambios en su `~/.blerc` (o en `~/.config/blesh/init.sh`) para personalizar lo que se muestra a la izquierda y a la derecha:
- To customize what the left side of input gets replaced with, configure the `prompt_ps1_final` Ble.sh option. For example, to display Starship's `character` module here, you would do
- Para personalizar con qué se reemplaza el lado izquierdo de la entrada, configure la opción `prompt_ps1_final` de Ble.sh. Por ejemplo, para mostrar el módulo de `personaje` de Starship aquí, harías
```bash
bleopt prompt_ps1_final='$(starship module character)'
```
- To customize what the right side of input gets replaced with, configure the `prompt_rps1_final` Ble.sh option. Por ejemplo, para mostrar la hora en la que se inició el último comando aquí, lo harías
- Para personalizar con qué se reemplaza el lado derecho de la entrada, configure la opción `prompt_rps1_final` de Ble.sh. Por ejemplo, para mostrar la hora en la que se inició el último comando aquí, lo harías
```bash
bleopt prompt_rps1_final='$(starship module time)'
@@ -225,9 +221,9 @@ Algunos intérpretes de comandos soportan un prompt derecho que se renderiza en
Nota: El prompt derecho es una sola línea siguiendo la ubicación de entrada. Para alinear los módulos arriba de la línea de entrada en un prompt multi-línea, vea el [módulo de `relleno`](../config/#fill).
`right_format` is currently supported for the following shells: elvish, fish, zsh, xonsh, cmd, nushell, bash.
`right_format` actualmente es compatible con los siguientes shells: elvish, fish, zsh, xonsh, cmd, nushell, bash.
Note: The [Ble.sh](https://github.com/akinomyoga/ble.sh) framework v0.4 or higher should be installed in order to use right prompt in bash.
Nota: Se debe instalar el framework [Ble.sh](https://github.com/akinomyoga/ble.sh) v0.4 o superior para poder utilizar el indicador correcto en bash.
### Ejemplo
@@ -266,7 +262,7 @@ Nota: Los prompts de continuación solo están disponibles en los siguientes int
```toml
# ~/.config/starship.toml
# A continuation prompt that displays two filled-in arrows
# Un mensaje de continuación que muestra dos flechas rellenas
continuation_prompt = '▶▶ '
```
@@ -287,7 +283,7 @@ Las cadenas de estilo son una lista de palabras, separadas por espacios en blanc
- `<color>`
- `ninguno`
donde `<color>` es un especificador de color (discutido a continuación). `fg:<color>` y `<color>` hacen actualmente lo mismo, aunque esto puede cambiar en el futuro. `<color>` can also be set to `prev_fg` or `prev_bg` which evaluates to the previous item's foreground or background color respectively if available or `none` otherwise. `inverted` cambia el fondo y los colores de primer plano. El orden de las palabras en la cadena no importa.
donde `<color>` es un especificador de color (discutido a continuación). `fg:<color>` y `<color>` hacen actualmente lo mismo, aunque esto puede cambiar en el futuro. `<color>` también se puede configurar como `prev_fg` o `prev_bg`, que evalúa el color de primer plano o de fondo del elemento anterior respectivamente si está disponible o `none` en caso contrario. `inverted` cambia el fondo y los colores de primer plano. El orden de las palabras en la cadena no importa.
El token `none` anula todos los demás tokens en una cadena si no es parte de un especificador `bg:`, de modo que por ejemplo `fg:red none fg:blue` creará una cadena sin ningún estilo. `bg:none` establece el fondo al color por defecto, así que `fg:red bg:none` es equivalente a `red` o `fg:red` y `bg:green fg:red bg:none` también es equivalente a `fg:red` o `red`. Puede convertirse en un error usar `none` junto con otros estilos en el futuro.
File diff suppressed because it is too large Load Diff
+30 -26
View File
@@ -35,7 +35,7 @@
<a href="https://stand-with-ukraine.pp.ua"
><img
src="https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraineFlat.svg"
alt="Stand With Ukraine"
alt="Quedarse con Ukraniano"
/></a>
</p>
@@ -221,19 +221,22 @@ curl -sS https://starship.rs/install.sh | sh
Alternativamente, instale Starship usando cualquiera de los siguientes gestores de paquetes:
| Distribución | Repositorio | Instrucciones |
| ------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| **_Cualquiera_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
| _Cualquiera_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
| _Cualquiera_ | [Linuxbrew](https://formulae.brew.sh/formula/starship) | `brew install starship` |
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Paquetes Gentoo](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
| Distribución | Repositorio | Instrucciones |
| ------------------------ | ----------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ |
| **_Cualquiera_** | **[crates.io](https://crates.io/crates/starship)** | `cargo install starship --locked` |
| _Cualquiera_ | [conda-forge](https://anaconda.org/conda-forge/starship) | `conda install -c conda-forge starship` |
| _Cualquiera_ | [Linuxbrew](https://formulae.brew.sh/formula/starship) | `brew install starship` |
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Extra de Archi Linux](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Paquetes Gentoo](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04 o más nuevo | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -274,7 +277,7 @@ Instalar Starship usando cualquiera de los siguientes gestores de paquetes:
</details>
### Paso 2. Set up your shell to use Starship
### Paso 2. Configure su consola para usar Starship
Configure su shell para inicializar starship. Selecciona el tuyo de la lista de abajo:
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
Añade el siguiente código al final de `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
Nota: Sólo se admite Elvish v0.18+
Note: Only Elvish v0.18+ is supported. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -338,14 +341,15 @@ eval $(starship init ion)
<details>
<summary>Nushell</summary>
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
Agregue lo siguiente al final de su configuración de Nushell (encuéntrelo ejecutando `$nu.config-path` en Nushell):
```sh
mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
```
Note: Only Nushell v0.96+ is supported
Nota: Sólo se admite Nushell v0.96+
</details>
@@ -405,7 +409,7 @@ Si estás buscando personalizar Starship:
## 🤝 Contribuir
¡Siempre estamos buscando colaboradores de **todos los niveles y habilidades**! Si estas buscando una manera fácil de ayudar este proyecto, puedes intentar resolver un problema con la etiqueta "[good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue)".
¡Siempre estamos buscando colaboradores de **todos los niveles y habilidades**! Si buscas avanzar gradualmente en el proyecto, prueba con un [buen primer número](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
Si habla con fluidez en un idioma que no es inglés, agradecemos mucho cualquier ayuda para mantener nuestros documentos traducidos y actualizados en otros idiomas. Si quieres ayudar, puedes contribuir con las traducciones en el [Crowdin de Starship](https://translate.starship.rs/).
@@ -425,16 +429,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.
## 🔒 Code Signing Policy
## Política de Firmado de Código
Free code signing provided by [SignPath.io](https://signpath.io), certificate by [SignPath Foundation](https://signpath.org).
Firma de código gratuita proporcionada por [SignPath.io](https://signpath.io), certificado por [SignPath Foundation](https://signpath.org).
Code Signing Roles:
Roles de Firmado de Código:
- Reviewers: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
- Approvers and Authors: [Mission Control](https://github.com/orgs/starship/teams/mission-control)
- Revisores: [Astronauts](https://github.com/orgs/starship/teams/astronauts)
- Aprobadores y Autores: [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.
Este programa no transferirá ninguna información a otros sistemas en red a menos que lo solicite específicamente el usuario o la persona que lo instale u opere.
<p align="center">
<br>
+7 -5
View File
@@ -14,11 +14,7 @@ Este preajuste cambia los símbolos de cada módulo para usar símbolos Nerd Fon
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
::: tip
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[Click to view No Nerd Font preset](./no-nerd-font)
@@ -75,3 +71,9 @@ Este preajuste está muy inspirado en [Pastel Powerline](./pastel-powerline.md)
Este es un preajuste pseudominimalista inspirado en las indicaciones [geometría](https://github.com/geometry-zsh/geometry) y [nave espacial](https://github.com/spaceship-prompt/spaceship-prompt).
[![Captura de pantalla del preajuste Jetpack](/presets/img/jetpack.png "Click to view Jetpack preset")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
@@ -0,0 +1,28 @@
[Return to Presets](./#catppuccin-powerline)
# Catppuccin Powerline Preset
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png)
### Prerequisitos
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
### Configuración
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
By default this preset uses the Mocha flavour of Catppucin, but you can specify any of the flavours by modifying the value of `palette`:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macchiato`
- `catppuccin_latte`
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[Volver a Preajustes](./#pure)
[Volver a Preajustes](./#pure-prompt)
# Preajuste Pure
+1 -1
View File
@@ -1,4 +1,4 @@
[Volver a Preajustes](./#pastel-powerline)
[Volver a Preajustes](./#tokyo-night)
# Tokyo Night Preset
+8 -15
View File
@@ -18,7 +18,7 @@ features:
details: Profitez de toute la rapidité et la sécurité de Rust pour rendre votre invite de commandes la plus rapide et fiable possible.
-
title: Personnalisable
details: Tous les petits détails sont personnalisable à votre goût, pour rendre votre invite de commandes aussi légère ou complète que le vous souhaitez.
details: Tous les petits détails sont personnalisables à votre goût, pour rendre votre invite de commandes aussi légère ou complète que vous le souhaitez.
footer: Licence ISC | Copyright © 2019-présent Contributeurs Starship
#Used for the description meta tag, for SEO
metaTitle: "Starship : Invite Multi-Shell"
@@ -46,7 +46,7 @@ onMounted(() => {
### Pré-requis
- Une [Nerd Font](https://www.nerdfonts.com/) est installée et activée dans votre terminal.
- Une police d'écriture [Nerd Font](https://www.nerdfonts.com/) est installée et activée dans votre terminal.
### Installation
@@ -72,7 +72,7 @@ onMounted(() => {
brew install starship
```
With [Winget](https://github.com/microsoft/winget-cli):
Avec [Winget](https://github.com/microsoft/winget-cli):
```powershell
winget install starship
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
Seul elvish v0.18 ou supérieur est pris en charge.
:::
Ajoutez ce qui suit à la fin de `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,13 +161,9 @@ onMounted(() => {
#### Nushell
::: warning
> [!WARNING] This will change in the future. Seul Nushell v0.96+ est supporté.
Ceci va changer dans le futur. Only Nushell v0.96+ is supported.
:::
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
Ajoutez la ligne suivante à la fin de votre configuration Nushell (trouvable en exécutant `$nu.config-path` dans Nushell) :
```sh
mkdir ($nu.data-dir | path join "vendor/autoload")
+1 -5
View File
@@ -2,11 +2,7 @@
Même si Starship est un shell polyvalent, éditer `starship.toml` ne suffit parfois pas pour faire certaines choses. Cette page détaille quelques techniques de configuration avancées utilisées dans starship.
::: warning
Les configurations dans cette section sont sujettes à modification dans les futures versions de Starship.
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt in PowerShell
File diff suppressed because it is too large Load Diff
+7 -7
View File
@@ -16,7 +16,7 @@ L'aide à la complétion ou autocomplétion est fournie par le shell que vous av
## Est-ce que l'option globale `format` et `<module>.disabled` font la même chose ?
Oui, ils peuvent tous deux être utilisés pour désactiver les modules dans l'invite de commande. Si tout ce que vous prévoyez de faire est de désactiver les modules, `<module>.disabled` est le meilleur moyen de le faire pour ces raisons :
Oui, elles peuvent toutes deux être utilisées pour désactiver les modules dans l'invite de commande. Si tout ce que vous prévoyez de faire est de désactiver les modules, `<module>.disabled` est le meilleur moyen de le faire pour ces raisons :
- Désactiver les modules est plus explicite que de les omettre du `format global`
- Les modules nouvellement créés seront ajoutés à l'invite de commande au fur et à mesure que Starship sera mis à jour
@@ -38,7 +38,7 @@ NUM_JOBS=$(jobs -p | wc -l)
PS1="$(starship prompt --status=$STATUS --jobs=$NUM_JOBS)"
```
L' [implémentation Bash](https://github.com/starship/starship/blob/master/src/init/starship.bash) intégrée à Starship est légèrement plus complexe pour permettre des fonctionnalités avancées comme le [module de durée de commande](https://starship.rs/config/#command-duration) et pour s'assurer que Starship est compatible avec les configurations Bash pré-installées.
L'[implémentation Bash](https://github.com/starship/starship/blob/master/src/init/starship.bash) intégrée à Starship est légèrement plus complexe pour permettre des fonctionnalités avancées comme le [module de durée de commande](https://starship.rs/config/#command-duration) et pour s'assurer que Starship est compatible avec les configurations Bash pré-installées.
Pour une liste de tous les flags acceptés par `starship prompt`, utilisez la commande suivante :
@@ -72,7 +72,7 @@ Vous pouvez activer les journaux de débogage en utilisant la variable denvir
env STARSHIP_LOG=trace starship module rust
```
If starship is being slow you can try using the `timings` command to see if there is a particular module or command that is to blame.
Si Starship est lent, vous pouvez utiliser la commande `timings` pour vérifier si un module ou une commande en particulier est à l'origine du ralentissement.
```sh
env STARSHIP_LOG=trace starship timings
@@ -121,10 +121,10 @@ Si Starship a été installé en utilisant le script d'installation, la commande
sh -c 'rm "$(command -v 'starship')"'
```
## How do I install Starship without `sudo`?
## Comment installer Starship sans `sudo`?
The shell install script (`https://starship.rs/install.sh`) only attempts to use `sudo` if the target installation directory is not writable by the current user. The default installation directory is the value of the `$BIN_DIR` environment variable or `/usr/local/bin` if `$BIN_DIR` is not set. If you instead set the installation directory to one that is writable by your user, you should be able to install starship without `sudo`. For example, `curl -sS https://starship.rs/install.sh | sh -s -- -b ~/.local/bin` uses the `-b` command line option of the install script to set the installation directory to `~/.local/bin`.
Le script d'installation (`https://starship.rs/install.sh`) essaye d'utiliser `sudo` seulement si le répertoire d'installation ciblé n'est pas disponible en écriture pour l'utilisateur actuel. Le répertoire d'installation par défaut correspond à la variable d'environnement `$BIN_DIR`, ou `/usr/local/bin` si `$BIN_DIR` n'est pas définie. Si vous avez défini à la place un répertoire d'installation accessible en écriture par votre utilisateur, vous devriez pouvoir installer Starship sans `sudo`. Par exemple, la commande `curl -sS https://starship.rs/install.sh | sh -s -- -b ~/.local/bin` utilise l'option `-b` du script d'installation pour définir le répertoire d'installation vers `~/.local/bin`.
For a non-interactive installation of Starship, don't forget to add the `-y` option to skip the confirmation. Check the source of the installation script for a list of all supported installation options.
Pour une installation non interactive de Starship, n'oubliez pas d'ajouter l'option `-y` pour passer l'étape de confirmation. Vérifiez le code source du script d'installation pour obtenir une liste de toutes les options d'installation supportées.
When using a package manager, see the documentation for your package manager about installing with or without `sudo`.
Lorsque vous utilisez un gestionnaire de paquet, référez-vous à la documentation dudit gestionnaire pour l'installation avec ou sans `sudo`.
+12 -9
View File
@@ -180,7 +180,7 @@
### Pré-requis
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (for example, try the [FiraCode Nerd Font](https://www.nerdfonts.com/font-downloads)).
- Une police d'écriture [Nerd Font](https://www.nerdfonts.com/) est installée et activée sur votre terminal (par exemple, essayez [FiraCode Nerd Font](https://www.nerdfonts.com/font-downloads)).
### Étape 1. Installer Starship
@@ -229,10 +229,13 @@ Vous pouvez aussi installer Starship en utilisant lun de ces gestionnaires de
| Alpine Linux 3.13+ | [Paquets Alpine Linux](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian principal](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Paquets Gentoo](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Paquets Void Linux](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -260,7 +263,7 @@ Vous pouvez aussi installer Starship en utilisant lun de ces gestionnaires de
<details>
<summary>Windows</summary>
Install the latest version for your system with the MSI-installers from the [releases section](https://github.com/starship/starship/releases/latest).
Installez la dernière version pour votre système à partir de l'installeur MSI de la [section publication](https://github.com/starship/starship/releases/latest).
Installez Starship en utilisant lun de ces gestionnaires de paquets:
@@ -274,7 +277,7 @@ Installez Starship en utilisant lun de ces gestionnaires de paquets:
</details>
### Étape 2. Set up your shell to use Starship
### Étape 2. Configurez votre Shell pour utiliser Starship
Configurez votre shell pour initialiser starship. Sélectionnez le vôtre dans la liste ci-dessous:
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
Ajoutez ce qui suit à la fin de `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
Note: Seul Elvish v0.18+ est supporté
Note: Seul Elvish v0.18+ est supporté. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -338,14 +341,14 @@ eval $(starship init ion)
<details>
<summary>Nushell</summary>
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
Ajoutez la ligne suivante à la fin de votre configuration Nushell (trouvable en exécutant `$nu.config-path` dans Nushell) :
```sh
mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
```
Note: Only Nushell v0.96+ is supported
Note: Seul Nushell v0.96+ est supporté
</details>
@@ -405,7 +408,7 @@ Si vous cherchez à personnaliser davantage Starship :
## 🤝 Contribuer
Nous sommes toujours à la recherche de contributeurs de **tous niveaux de compétence**! Si vous cherchez à faciliter votre entrée dans le projet, essayez un [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
Nous sommes toujours à la recherche de contributeurs de **tous niveaux de compétence**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
Si vous parlez couramment une langue autre que l'anglais, nous apprécions grandement toute aide pour traduire et mettre à jour notre documentation dans d'autres langues. Si vous souhaitez nous aider, les traductions se font sur le [Crowdin Starship](https://translate.starship.rs/).
+7 -5
View File
@@ -14,11 +14,7 @@ Ce préréglage change les symboles de chaque module pour utiliser les symboles
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
::: tip
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[Click to view No Nerd Font preset](./no-nerd-font)
@@ -75,3 +71,9 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
This is a pseudo minimalist preset inspired by the [geometry](https://github.com/geometry-zsh/geometry) and [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) prompts.
[![Screenshot of Jetpack preset](/presets/img/jetpack.png "Click to view Jetpack preset")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
@@ -0,0 +1,28 @@
[Return to Presets](./#catppuccin-powerline)
# Catppuccin Powerline Preset
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png)
### Pré-requis
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
### Configuration
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
By default this preset uses the Mocha flavour of Catppucin, but you can specify any of the flavours by modifying the value of `palette`:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macchiato`
- `catppuccin_latte`
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[Retourner aux préréglages](./#pure)
[Retourner aux préréglages](./#pure-prompt)
# Préréglage Pure
+1 -1
View File
@@ -1,4 +1,4 @@
[Retourner aux préréglages](./#pastel-powerline)
[Retourner aux préréglages](./#tokyo-night)
# Tokyo Night Preset
+4 -11
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
Hanya elvish v0.18 atau versi yang lebih baru yang mendapat dukungan pengembangan.
:::
Tambahkan skrip berikut pada baris akhir `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,11 +161,7 @@ onMounted(() => {
#### Nushell
::: warning
Hal ini dapat berubah di kemudian hari. Only Nushell v0.96+ is supported.
:::
> [!WARNING] This will change in the future. Hanya Nushell v0.96+ yang menerima dukungan.
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+1 -5
View File
@@ -2,11 +2,7 @@
Walaupun Starship adalah shell yang serbaguna, terkadang kita butuh upaya lebih dari sekadar mengedit `starship.toml` untuk membuatnya menjalankan beberapa hal tertentu. Halaman ini merincikan beberapa teknik konfigurasi lanjutan yang digunakan starship.
::: warning
Konfigurasi pada bagian ini dapat berubah saat Starship terbaru rilis di kemudian hari nanti.
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt in PowerShell
File diff suppressed because it is too large Load Diff
+7 -4
View File
@@ -229,10 +229,13 @@ Alternatively, install Starship using any of the following package managers:
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
Tambahkan skrip berikut pada baris akhir `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
Note: Only Elvish v0.18+ is supported
Note: Only Elvish v0.18+ is supported. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -405,7 +408,7 @@ Jika kamu ingin mengkustomisasi Starship lebih jauh:
## 🤝 Berkontribusi
We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
We are always looking for contributors of **all skill levels**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
If you are fluent in a non-English language, we greatly appreciate any help keeping our docs translated and up-to-date in other languages. If you would like to help, translations can be contributed on the [Starship Crowdin](https://translate.starship.rs/).
+7 -5
View File
@@ -14,11 +14,7 @@ This preset changes the symbols for each module to use Nerd Font symbols.
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
::: tip
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[Click to view No Nerd Font preset](./no-nerd-font)
@@ -75,3 +71,9 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
This is a pseudo minimalist preset inspired by the [geometry](https://github.com/geometry-zsh/geometry) and [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) prompts.
[![Screenshot of Jetpack preset](/presets/img/jetpack.png "Click to view Jetpack preset")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
@@ -0,0 +1,28 @@
[Return to Presets](./#catppuccin-powerline)
# Catppuccin Powerline Preset
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png)
### Prasyarat
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
### Konfigurasi
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
By default this preset uses the Mocha flavour of Catppucin, but you can specify any of the flavours by modifying the value of `palette`:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macchiato`
- `catppuccin_latte`
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pure)
[Return to Presets](./#pure-prompt)
# Pure Preset
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pastel-powerline)
[Return to Presets](./#tokyo-night)
# Tokyo Night Preset
+1 -7
View File
@@ -27,16 +27,10 @@ choco install starship
## [termux](https://termux.com)
### Prerequisites
```sh
pkg install getconf
```
### Installation
```sh
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir /data/data/com.termux/files/usr/bin
pkg install starship
```
## [Funtoo Linux](https://www.funtoo.org/Welcome)
+4 -11
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
Only elvish v0.18 or higher is supported.
:::
Aggiungi quanto segue alla fine di `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,11 +161,7 @@ onMounted(() => {
#### Nushell
::: warning
This will change in the future. Only Nushell v0.96+ is supported.
:::
> [!WARNING] This will change in the future. Only Nushell v0.96+ is supported.
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+1 -5
View File
@@ -2,11 +2,7 @@
Nonostante Starship sia una shell versatile, a volte devi fare qualche modifica in più in `starship.toml` per ottenere alcune cose. Questa pagina descrive alcune tecniche di configurazione avanzate utilizzate in Starship.
::: warning
Le configurazioni in questa sezione sono soggette a modifiche nelle future versioni di Starship.
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt su PowerShell
File diff suppressed because it is too large Load Diff
+7 -4
View File
@@ -229,10 +229,13 @@ Alternatively, install Starship using any of the following package managers:
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
Aggiungi quanto segue alla fine di `~/.elvish/rc.elv`:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
Note: Only Elvish v0.18+ is supported
Note: Only Elvish v0.18+ is supported. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -405,7 +408,7 @@ Se stai cercando di personalizzare ulteriormente Starship:
## 🤝 Contribuire
Siamo sempre alla ricerca di collaboratori di **tutti i livelli**! Se stai cercando di entrare facilmente nel progetto, prova un [buon primo problema](https://github.com/starship/starship/labels/🌱%20good%20first%20issue).
Siamo sempre alla ricerca di collaboratori di **tutti i livelli**! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
Se parli correntemente una lingua diversa dall'inglese, apprezziamo molto qualsiasi aiuto per mantenere i nostri documenti tradotti e aggiornati in altre lingue. Se desideri collaborare, le traduzioni possono essere fornite su [Starship Crowdin](https://translate.starship.rs/).
+7 -5
View File
@@ -14,11 +14,7 @@ This preset changes the symbols for each module to use Nerd Font symbols.
This preset changes the symbols for several modules so that no Nerd Font symbols are used anywhere in the prompt.
::: tip
This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[Click to view No Nerd Font preset](./no-nerd-font)
@@ -75,3 +71,9 @@ This preset is heavily inspired by [Pastel Powerline](./pastel-powerline.md), an
This is a pseudo minimalist preset inspired by the [geometry](https://github.com/geometry-zsh/geometry) and [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) prompts.
[![Screenshot of Jetpack preset](/presets/img/jetpack.png "Click to view Jetpack preset")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
@@ -0,0 +1,28 @@
[Return to Presets](./#catppuccin-powerline)
# Catppuccin Powerline Preset
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png)
### Prerequisiti
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal
### Configurazione
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
By default this preset uses the Mocha flavour of Catppucin, but you can specify any of the flavours by modifying the value of `palette`:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macchiato`
- `catppuccin_latte`
[Click to download TOML](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pure)
[Return to Presets](./#pure-prompt)
# Pure Preset
+1 -1
View File
@@ -1,4 +1,4 @@
[Return to Presets](./#pastel-powerline)
[Return to Presets](./#tokyo-night)
# Tokyo Night Preset
+4 -11
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
elvish v0.18 以降のみサポートされます。
:::
`~/.elvish/rc.elv` の最後に以下を追記してください。
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,11 +161,7 @@ onMounted(() => {
#### Nushell
::: warning
これは将来的に変更される可能性があります。 Only Nushell v0.96+ is supported.
:::
> [!WARNING] This will change in the future. Nushell v0.96+ のみサポートされています。
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+2 -6
View File
@@ -2,11 +2,7 @@
Starship は汎用性の高いシェルですが、時には特定の処理を行うために `starship.toml` を編集する以上のことをする必要があります。 このページでは starship で使用される、より高度な設定の一部を詳しく説明していきます。
::: warning
ここに載せられた設定は、Starship の将来のリリースで変更される可能性があります。
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## PowerShell の TransientPrompt
@@ -251,7 +247,7 @@ right_format = """$all"""
一部のシェルは、通常のプロンプトの他に継続プロンプトをサポートしています。 このプロンプトは、ユーザーが不完全な文 (単一の左括弧や引用符など) を確定したときに通常のプロンプトの代わりに表示されます。
Starship では、 `contination_prompt` オプションを使用して継続プロンプトを設定できます。 既定の継続プロンプトは `'[](bright-black) '` です。
Starship では、 `contination_prompt` オプションを使用して継続プロンプトを設定できます。 既定の継続プロンプトは `'[](bright-black) '` です。
注意: `contination_prompt` には変数を含まないそのまま文字列を設定する必要があります。
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -80,7 +80,7 @@ env STARSHIP_LOG=trace starship timings
トレースログおよび、実行に 1 ミリ秒以上かかったか何か出力をした全てのモジュールの個別解析を出力します。
バグを見つけた場合は、 `bug-report` コマンドを用いて GitHub の問題を作成できます。
バグを見つけた場合は、 `bug-report` コマンドを用いて GitHub のissueを作成できます。
```sh
starship bug-report
+8 -5
View File
@@ -229,10 +229,13 @@ curl -sS https://starship.rs/install.sh | sh
| Alpine Linux 3.13+ | [Alpine Linux Packages](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo Packages](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux Packages](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
`~/.elvish/rc.elv` の最後に以下を追記してください。
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
注意: Elvish v0.18以降でサポートされています
注意: Elvish v0.18以降でサポートされています. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -345,7 +348,7 @@ mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
```
Note: Only Nushell v0.96+ is supported
注意: Nushell v0.96以降でサポートされています
</details>
@@ -405,7 +408,7 @@ Starshipのさらなるカスタマイズを目指すなら以下を参考にし
## 🤝 貢献
私たちは常に**すべてのスキルレベル**の貢献者を探しています! もし簡単にプロジェクトへ参加する方法をお探しなら、 [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue) に取り組んでみてください。
私たちは常に**すべてのスキルレベル**の貢献者を探しています! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
あなたが英語以外の言語に堪能な場合、ドキュメントの翻訳と更新に協力していただけると嬉しいです。 協力してくれる場合、翻訳は [Starship Crowdin](https://translate.starship.rs/) から貢献できます。
+8 -6
View File
@@ -14,17 +14,13 @@
このプリセットは一部のモジュールで使われるシンボルを変更して、Nerd Font シンボルをどこにも使わないようにします。
::: tip
このプリセットは [Starship の将来のリリース](https://github.com/starship/starship/pull/3544) でデフォルトのプリセットになります。
:::
> [!TIP] This preset will become the default preset [in a future release of starship](https://github.com/starship/starship/pull/3544).
[No Nerd Font プリセットを表示するにはクリックしてください。](./no-nerd-font)
## [Bracketed Segments](./bracketed-segments.md)
このプリセットは付属のモジュール全てのフォーマットを変更し、デフォルトのStarshipの表示("via", "on", etc.)から、それぞれの情報を括弧で区分けするように変更します。
このプリセットは付属のモジュール全てのフォーマットを変更し、デフォルトのStarshipの表示("via", "on", etc.) から、それぞれの情報を括弧で区分けするように変更します。
[![Bracketed Segmentsプリセットのスクリーンショット](/presets/img/bracketed-segments.png "Bracketed Segmentsプリセットを表示するにはクリックしてください")](./bracketed-segments)
@@ -75,3 +71,9 @@
[geometry](https://github.com/geometry-zsh/geometry) と [spaceship](https://github.com/spaceship-prompt/spaceship-prompt) のプロンプトにインスパイアされた擬似ミニマリストプリセットです。
[![Jetpack プリセットのスクリーンショット](/presets/img/jetpack.png "Jetpack プリセットを表示するにはクリックしてください")](./jetpack)
## [Catppuccin Powerline](./catppuccin-powerline.md)
This preset is a minimally modified version of [Gruvbox Rainbow](./gruvbox-rainbow.md) using the [Catppuccin](https://github.com/catppuccin/catppuccin) theme palette.
[![Screenshot of Catppuccin Powerline preset](/presets/img/catppuccin-powerline.png "Click to view Catppuccin Powerline preset")](./catppuccin-powerline)
+1 -1
View File
@@ -2,7 +2,7 @@
# Bracketed Segmentsプリセット
このプリセットは付属のモジュール全てのフォーマットを変更し、デフォルトのStarshipの表示("via", "on", etc.)から、それぞれの情報を括弧で区分けするように変更します。
このプリセットは付属のモジュール全てのフォーマットを変更し、デフォルトのStarshipの表示("via", "on", etc.) から、それぞれの情報を括弧で区分けするように変更します。
![Bracketed Segmentsプリセットのスクリーンショット](/presets/img/bracketed-segments.png)
@@ -0,0 +1,28 @@
[プリセット一覧に戻る](./#catppuccin-powerline)
# Catppuccin Powerline プリセット
[Catppuccin](https://github.com/catppuccin/catppuccin) のテーマを利用して [Gruvbox Rainbow](./gruvbox-rainbow.md) に最小限の変更を加えたプリセットです。
![Catppuccin Powerline プリセットのスクリーンショット](/presets/img/catppuccin-powerline.png)
### 必要なもの
- [Nerd Font](https://www.nerdfonts.com/) をインストールし、ターミナルで有効化する
### 設定
```sh
starship preset catppuccin-powerline -o ~/.config/starship.toml
```
デフォルトでは、このプリセットは Catppuchin の Mocha テーマを使用します。 `palette` の値を変更することで、他のテーマを使用することができます:
- `catppuccin_mocha`
- `catppuccin_frappe`
- `catppuccin_macciato`
- `catppuccin_latte`
[クリックしてTOMLファイルをダウンロード](/presets/toml/catppuccin-powerline.toml)
<<< @/public/presets/toml/catppuccin-powerline.toml
+1 -1
View File
@@ -1,4 +1,4 @@
[プリセット一覧に戻る](./#pure)
[プリセット一覧に戻る](./#pure-prompt)
# Pureプリセット
+1 -1
View File
@@ -1,4 +1,4 @@
[プリセット一覧に戻る](./#pastel-powerline)
[プリセット一覧に戻る](./#tokyo-night)
# Tokyo Night プリセット
+4 -11
View File
@@ -136,19 +136,16 @@ onMounted(() => {
#### Elvish
::: warning
> [!WARNING] Only elvish v0.18 or higher is supported.
elvish 버전 v0.18 이상에서만 지원됩니다.
:::
`~/.elvish/rc.elv` 의 끝부분에 아래 라인을 추가:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
# ~/.elvish/rc.elv
eval (starship init elvish)
```
For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
#### Tcsh
@@ -164,11 +161,7 @@ onMounted(() => {
#### Nushell
::: warning
추후에 변경될 예정입니다. Only Nushell v0.96+ is supported.
:::
> [!WARNING] This will change in the future. Nushell v0.96 버전 이상에서만 지원됩니다.
Add the following to the end of your Nushell configuration (find it by running `$nu.config-path` in Nushell):
+1 -5
View File
@@ -2,11 +2,7 @@
While Starship is a versatile shell, sometimes you need to do more than edit `starship.toml` to get it to do certain things. This page details some of the more advanced configuration techniques used in starship.
::: warning
The configurations in this section are subject to change in future releases of Starship.
:::
> [!WARNING] The configurations in this section are subject to change in future releases of Starship.
## TransientPrompt in PowerShell
File diff suppressed because it is too large Load Diff
+30 -31
View File
@@ -10,22 +10,22 @@
- **구성**: [matchai's Dotfiles](https://github.com/matchai/dotfiles/blob/b6c6a701d0af8d145a8370288c00bb9f0648b5c2/.config/fish/config.fish)
- **프롬프트**: [Starship](https://starship.rs/)
## How do I get command completion as shown in the demo GIF?
## 데모 GIF에 표시된 명령 완성 기능을 어떻게 얻을 수 있나요?
Completion support, or autocomplete, is provided by your shell of choice. In the case of the demo, the demo was done with [Fish Shell](https://fishshell.com/), which provides completions by default. If you use Z Shell (zsh), I'd suggest taking a look at [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions).
완성 지원 또는 자동 완성은 선택한 셸에서 제공합니다. 데모의 경우 [Fish Shell](https://fishshell.com/)로 데모를 진행했으며, Fish Shell은 기본적으로 완성을 제공합니다. Z Shell(zsh)을 사용하는 경우 [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)를 살펴보는 것이 좋습니다.
## Do top level `format` and `<module>.disabled` do the same thing?
## 최상위 `format` `<module>.disabled`는 동일한 기능을 하나요?
Yes, they can both be used to disable modules in the prompt. If all you plan to do is disable modules, `<module>.disabled` is the preferred way to do so for these reasons:
예, 둘 다 프롬프트에서 모듈을 비활성화하는 데 사용할 수 있습니다. 모듈을 비활성화하는 것이 유일한 계획이라면 다음과 같은 이유로 `<module>.disabled`가 선호되는 방법입니다.
- Disabling modules is more explicit than omitting them from the top level `format`
- Newly created modules will be added to the prompt as Starship is updated
- 모듈 비활성화는 최상위 `format`에서 생략하는 것보다 더 명시적입니다.
- 새로 생성된 모듈은 Starship이 업데이트됨에 따라 프롬프트에 추가됩니다.
## The docs say Starship is cross-shell. Why isn't my preferred shell supported?
The way Starship is built, it should be possible to add support for virtually any shell. The starship binary is stateless and shell agnostic, so as long as your shell supports prompt customization and shell expansion, Starship can be used.
Starship이 구축된 방식으로는 사실상 모든 셸에 대한 지원을 추가할 수 있어야 합니다. starship 바이너리는 상태 비저장이며 셸에 구애받지 않으므로, 셸이 프롬프트 사용자 지정을 지원하고 셸 확장을 지원하는 한 Starship을 사용할 수 있습니다.
Here's a small example getting Starship working with bash:
다음은 Starship이 bash에서 작동하는 작은 예시입니다.
```sh
# Get the status code from the last command executed
@@ -38,7 +38,7 @@ NUM_JOBS=$(jobs -p | wc -l)
PS1="$(starship prompt --status=$STATUS --jobs=$NUM_JOBS)"
```
The [Bash implementation](https://github.com/starship/starship/blob/master/src/init/starship.bash) built into Starship is slightly more complex to allow for advanced features like the [Command Duration module](https://starship.rs/config/#command-duration) and to ensure that Starship is compatible with pre-installed Bash configurations.
Starship에 내장된 [Bash 구현](https://github.com/starship/starship/blob/master/src/init/starship.bash)은 [명령 지속 시간 모듈](https://starship.rs/config/#command-duration)과 같은 고급 기능을 허용하고 Starship이 사전 설치된 Bash 구성과 호환되도록 하기 위해 약간 더 복잡합니다.
`starship 프롬프트`에서 지원하는 모든 플래그 값을 보려면 아래 명령어를 사용하세요:
@@ -46,7 +46,7 @@ The [Bash implementation](https://github.com/starship/starship/blob/master/src/i
starship prompt --help
```
The prompt will use as much context as is provided, but no flags are "required".
프롬프트는 제공된 만큼의 컨텍스트를 사용하지만, "필수" 플래그는 없습니다.
## 오래된 버전의 glibc가 있는 Linux 배포판에서 Starship을 어떻게 실행하나요?
@@ -58,52 +58,52 @@ curl -sS https://starship.rs/install.sh | sh -s -- --platform unknown-linux-musl
## 왜 `Executing command "..." timed out.` 경고가 뜨나요?
Starship executes different commands to get information to display in the prompt, for example the version of a program or the current git status. To make sure starship doesn't hang while trying to execute these commands we set a time limit, if a command takes longer than this limit starship will stop the execution of the command and output the above warning, this is expected behaviour. This time limit is configurable using the [`command_timeout`key](../config/#prompt) so if you want you can increase the time limit. You can also follow the debugging steps below to see which command is being slow and see if you can optimise it. Finally you can set the `STARSHIP_LOG` env var to `error` to hide these warnings.
Starship은 프롬프트에 표시할 정보를 얻기 위해 다양한 명령을 실행합니다. 예를 들어 프로그램 버전이나 현재 git 상태를 가져옵니다. starship이 이러한 명령을 실행하는 동안 멈추지 않도록 시간 제한을 설정합니다. 명령이 이 제한보다 오래 걸리면 starship은 명령 실행을 중지하고 위 경고를 출력합니다. 이는 예상된 동작입니다. 이 시간 제한은 [`command_timeout`](../config/#prompt)를 사용하여 구성할 수 있으므로 원하는 경우 시간 제한을 늘릴 수 있습니다. 또한 아래 디버깅 단계를 따라 어떤 명령이 느린지 확인하고 최적화할 수 있는지 확인할 수 있습니다. 마지막으로 이러한 경고를 숨기려면 `STARSHIP_LOG` 환경 변수를 `error`로 설정할 수 있습니다.
## 이해할 수 없거나 예상치 못한 기호가 보이는데 무슨 뜻인가요?
If you see symbols that you don't recognise you can use `starship explain` to explain the currently showing modules.
인식할 수 없는 기호가 보이면 `starship explain`을 사용하여 현재 표시되는 모듈을 설명할 수 있습니다.
## Starship is doing something unexpected, how can I debug it?
## Starship이 예상치 못한 동작을 하는데, 어떻게 디버깅할 수 있나요?
You can enable the debug logs by using the `STARSHIP_LOG` env var. These logs can be very verbose so it is often useful to use the `module` command if you are trying to debug a particular module, for example, if you are trying to debug the `rust` module you could run the following command to get the trace logs and output from the module.
`STARSHIP_LOG` 환경 변수를 사용하여 디버그 로그를 활성화할 수 있습니다. 이 로그는 매우 자세할 수 있으므로 특정 모듈을 디버깅하려는 경우 `module` 명령을 사용하는 것이 유용합니다. 예를 들어 `rust` 모듈을 디버깅하려는 경우 다음 명령을 실행하여 모듈의 추적 로그 및 출력을 얻을 수 있습니다.
```sh
env STARSHIP_LOG=trace starship module rust
```
If starship is being slow you can try using the `timings` command to see if there is a particular module or command that is to blame.
starship이 느리다면 `timings` 명령을 사용하여 특정 모듈이나 명령이 원인인지 확인할 수 있습니다.
```sh
env STARSHIP_LOG=trace starship timings
```
This will output the trace log and a breakdown of all modules that either took more than 1ms to execute or produced some output.
이것은 추적 로그와 실행하는 데 1ms 이상 걸렸거나 일부 출력을 생성한 모든 모듈의 분석을 출력합니다.
Finally if you find a bug you can use the `bug-report` command to create a GitHub issue.
마지막으로 버그를 발견하면 `bug-report` 명령을 사용하여 GitHub 이슈를 생성할 수 있습니다.
```sh
starship bug-report
```
## Why don't I see a glyph symbol in my prompt?
## 프롬프트에 글리프 기호가 보이지 않는 이유는 무엇인가요?
The most common cause of this is system misconfiguration. Some Linux distros in particular do not come with font support out-of-the-box. You need to ensure that:
가장 흔한 원인은 시스템 설정 오류입니다. 특히 일부 Linux 배포판은 기본적으로 글꼴 지원이 제공되지 않습니다. 다음 사항을 확인해야 합니다.
- Your locale is set to a UTF-8 value, like `de_DE.UTF-8` or `ja_JP.UTF-8`. If `LC_ALL` is not a UTF-8 value, [you will need to change it](https://www.tecmint.com/set-system-locales-in-linux/).
- You have an emoji font installed. Most systems come with an emoji font by default, but some (notably Arch Linux) do not. You can usually install one through your system's package manager--[noto emoji](https://www.google.com/get/noto/help/emoji/) is a popular choice.
- You are using a [Nerd Font](https://www.nerdfonts.com/).
- 로케일이 `de_DE.UTF-8` 또는 `ja_JP.UTF-8`과 같은 UTF-8 값으로 설정되어 있는지 확인하세요. `LC_ALL`이 UTF-8 값이 아닌 경우 [변경해야 합니다](https://www.tecmint.com/set-system-locales-in-linux/).
- You have an emoji font installed. 대부분의 시스템에는 기본적으로 이모지 글꼴이 제공되지만, 일부(특히 Arch Linux)는 그렇지 않습니다. 일반적으로 시스템의 패키지 관리자를 통해 설치할 수 있습니다. [noto emoji](https://www.google.com/get/noto/help/emoji/)는 인기 있는 선택입니다.
- [Nerd Font](https://www.nerdfonts.com/)를 사용하고 있는지 확인하세요.
To test your system, run the following commands in a terminal:
시스템을 테스트하려면 터미널에서 다음 명령을 실행하세요.
```sh
echo -e "\xf0\x9f\x90\x8d"
echo -e "\xee\x82\xa0"
```
The first line should produce a [snake emoji](https://emojipedia.org/snake/), while the second should produce a [powerline branch symbol (e0a0)](https://github.com/ryanoasis/powerline-extra-symbols#glyphs).
첫 번째 줄은 [뱀 이모지](https://emojipedia.org/snake/)를 생성해야 하고, 두 번째 줄은 [파워라인 브랜치 기호(e0a0)](https://github.com/ryanoasis/powerline-extra-symbols#glyphs)를 생성해야 합니다.
If either symbol fails to display correctly, your system is still misconfigured. Unfortunately, getting font configuration correct is sometimes difficult. Users on the Discord may be able to help. If both symbols display correctly, but you still don't see them in starship, [file a bug report!](https://github.com/starship/starship/issues/new/choose)
두 기호 중 하나라도 올바르게 표시되지 않으면 시스템이 여전히 잘못 구성된 것입니다. 안타깝게도 글꼴 구성을 올바르게 설정하는 것은 때때로 어렵습니다. Discord의 사용자들이 도움을 줄 수 있습니다. 두 기호 모두 올바르게 표시되지만 starship에서 여전히 보이지 않는다면 [버그 보고서를 제출하세요!](https://github.com/starship/starship/issues/new/choose)
## Starship을 어떻게 삭제하나요?
@@ -117,14 +117,13 @@ Starship을 패키지 매니저로 설치하였다면 해당 패키지 매니저
Starship을 설치 스크립트로 설치하였다면 바이너리 파일 제거를 위해 아래 명령어를 실행하세요:
```sh
# starship 바이너리 파일을 찾고 제거합니다.
sh -c 'rm "$(command -v 'starship')"'
# starship 바이너리 파일을 찾고 제거합니다. sh -c 'rm "$(command -v 'starship')"'
```
## How do I install Starship without `sudo`?
## `sudo` 없이 Starship을 어떻게 설치하나요?
The shell install script (`https://starship.rs/install.sh`) only attempts to use `sudo` if the target installation directory is not writable by the current user. The default installation directory is the value of the `$BIN_DIR` environment variable or `/usr/local/bin` if `$BIN_DIR` is not set. If you instead set the installation directory to one that is writable by your user, you should be able to install starship without `sudo`. For example, `curl -sS https://starship.rs/install.sh | sh -s -- -b ~/.local/bin` uses the `-b` command line option of the install script to set the installation directory to `~/.local/bin`.
셸 설치 스크립트(`https://starship.rs/install.sh`)는 대상 설치 디렉토리가 현재 사용자가 쓸 수 없는 경우에만 `sudo`를 사용하려고 시도합니다. 예를 들어, `curl -sS https://starship.rs/install.sh | sh -s -- -b ~/.local/bin`은 설치 스크립트의 `-b` 명령줄 옵션을 사용하여 설치 디렉토리를 `~/.local/bin`으로 설정합니다. 기본 설치 디렉토리는 `$BIN_DIR` 환경 변수의 값 또는 `$BIN_DIR`이 설정되지 않은 경우 `/usr/local/bin`입니다. 대신 설치 디렉토리를 사용자가 쓸 수 있는 디렉토리로 설정하면 `sudo` 없이 starship을 설치할 수 있습니다.
For a non-interactive installation of Starship, don't forget to add the `-y` option to skip the confirmation. Check the source of the installation script for a list of all supported installation options.
Starship의 비대화형 설치의 경우 확인을 건너뛰려면 `-y` 옵션을 추가하는 것을 잊지 마세요. 지원되는 모든 설치 옵션 목록은 설치 스크립트의 소스를 확인하세요.
When using a package manager, see the documentation for your package manager about installing with or without `sudo`.
패키지 관리자를 사용하는 경우 `sudo`를 사용하거나 사용하지 않고 설치하는 방법에 대한 패키지 관리자 문서를 참조하세요.
+8 -5
View File
@@ -229,10 +229,13 @@ curl -sS https://starship.rs/install.sh | sh
| Alpine Linux 3.13+ | [Alpine Linux 패키지](https://pkgs.alpinelinux.org/packages?name=starship) | `apk add starship` |
| Arch Linux | [Arch Linux Extra](https://archlinux.org/packages/extra/x86_64/starship) | `pacman -S starship` |
| CentOS 7+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Debian 13+ | [Debian Main](https://sources.debian.org/src/starship/1.22.1-1/) | `apt install starship` |
| Fedora 40+ | [Copr](https://copr.fedorainfracloud.org/coprs/atim/starship) | `dnf copr enable atim/starship` <br /> `dnf install starship` |
| Gentoo | [Gentoo 패키지](https://packages.gentoo.org/packages/app-shells/starship) | `emerge app-shells/starship` |
| Manjaro | | `pacman -S starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/tools/misc/starship/default.nix) | `nix-env -iA nixpkgs.starship` |
| NixOS | [nixpkgs](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/st/starship/package.nix) | `nix-env -iA nixpkgs.starship` |
| openSUSE | [OSS](https://software.opensuse.org/package/starship) | `zypper in starship` |
| Ubuntu 25.04+ | [Ubuntu Universe](https://packages.ubuntu.com/source/plucky/starship) | `apt install starship` |
| Void Linux | [Void Linux 패키지](https://github.com/void-linux/void-packages/tree/master/srcpkgs/starship) | `xbps-install -S starship` |
</details>
@@ -303,13 +306,13 @@ load(io.popen('starship init cmd'):read("*a"))()
<details>
<summary>Elvish</summary>
`~/.elvish/rc.elv` 의 끝부분에 아래 라인을 추가:
Add the following to the end of `~/.config/elvish/rc.elv` (`%AppData%\elvish\rc.elv` on Windows):
```sh
eval (starship init elvish)
```
알림: Elvish v0.18 버전 이상에서만 지원됩니다.
Note: Only Elvish v0.18+ is supported. For elvish versions prior to v0.21.0 the config file might instead be `~/.elvish/rc.elv`
</details>
@@ -345,7 +348,7 @@ mkdir ($nu.data-dir | path join "vendor/autoload")
starship init nu | save -f ($nu.data-dir | path join "vendor/autoload/starship.nu")
```
Note: Only Nushell v0.96+ is supported
알림: Nushell v0.96 버전 이상에서만 지원됩니다.
</details>
@@ -405,7 +408,7 @@ Starship을 추가로 커스터마이징 하고싶다면:
## 🤝 기여하기
우리는 언제나 **기술 수준에 관계없이** 기여자를 찾고 있습니다! 프로젝트에 참여하고자 한다면, [good first issue](https://github.com/starship/starship/labels/🌱%20good%20first%20issue) 를 보내보세요.
우리는 언제나 **기술 수준에 관계없이** 기여자를 찾고 있습니다! If you're looking to ease your way into the project, try out a [good first issue](https://github.com/starship/starship/labels/"🌱%20good%20first%20issue").
영어 이외의 언어에 유창하시다면, 저희 문서를 다른 언어로 최신화하는 데 도움을 주시면 대단히 감사하겠습니다. 번역에 도움을 주고자 한다면, [Starship Crowdin](https://translate.starship.rs/) 에서 기여할 수 있습니다.

Some files were not shown because too many files have changed in this diff Show More