1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-05 03:13:14 +00:00
Commit Graph

235 Commits

Author SHA1 Message Date
Frederik Banning
f1f4ea2d90 docs: Include openSUSE in installation instructions
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2023-11-12 19:03:09 +01:00
Matan Kushner
96736fabaa
Add "Stand With Ukraine" badge 2023-11-06 17:33:05 +09:00
Matan Kushner
099539fd1a
Update README.md 2023-10-19 13:44:20 +09:00
Matan Kushner
b34d3169e4
chore: remove Snapcraft starship distribution (#5296) 2023-07-07 21:20:43 -04:00
Dosenpfand
51591c05f0
docs: Correct Arch Linux Repo Name (#5243)
* Correct Arch Linux repo name

* Revert changes to translated files.
2023-06-14 09:46:26 +02:00
Antoine Stevan
470aeb09a7
feat: update the nushell init file and make it valid module and overlay (#5188)
* break long commands into multiple lines for readability

* fix the format of closures

We generally write `{|| ...}` instead of `{ || ...}`.

* remove the `$"--opt=(val)"` structure when possible

`starship` does not require to use `--opt=val` and so we do not
need to do that with Nushell :)

the only place where this is required is with `--status` because
`$env.LAST_EXIT_CODE` can be negative and `starship` does not
appear to *like* values of the form `-2`...
so i left this line as it was.

on the other hand, `$env.CMD_DURATION_MS` and `(term size).columns`
should be fine 😌

* simplify the `config` mutation with new `?` syntax

This is a new very handy feature of Nushell which gives a much
simpler command combined with `default` and `merge`.

* put all `let-env`s inside an `export-env` with `load-env`

This commit has two reasons of existing:
- i think it makes it a bit easier to read with less `let-env`s
- it transforms the *script* into both a valid module and a valid
overlay

* bump the version to `0.78` in to docs

* add a note about the init file being also a module to all docs

* tweak the documentation

* update the Nushell part of the install script

* format the vuepress config file

as previous commit 117580136d3da5e00a4ccb7ada508c8510a2e50e was
not successful, let's try to make the CI happy manually 😌

* remove code quotes in the `config_cmd` of Nushell

* format the style in the Nushell `warning` section
2023-06-12 11:02:46 +02:00
Zhizhen He
1c743d5e93
docs: update CONTRIBUTING.md and README.md (#5153) 2023-05-09 07:58:34 +02:00
Matan Kushner
7c053fb698
docs: add Ukranian to the project README (#5147) 2023-04-28 23:07:35 +09:00
Aki Kanellis
f4ccd9ff22
docs: update snap instructions (#5007)
As part of #4954, non-edge packages of Starship were removed from Snapcraft. This means the only way to install Starship is through the `edge` channel using `snap install --edge starship`.
2023-04-12 07:55:38 +02:00
Matan Kushner
a903c95da6
Update sponsors 2023-03-14 10:28:09 +09:00
Bas Nijholt
cb1041d023
docs: "Fira Code Nerd Font" -> "FiraCode Nerd Font" (#4883) 2023-02-06 11:02:35 +09:00
Matan Kushner
d09d8093dc
docs: add Appwrite as a supporter tier sponsor 2023-01-18 01:24:38 +09:00
cassis163
69929dd0ac
docs(nu): Add -f flag (#4777)
* Add missing -f flag in documentation

* Fix Nushell version
2022-12-30 18:04:47 +01:00
Jett Chen
a51f76375f
docs: fix README shields badge (#4740) 2022-12-19 18:15:30 +09:00
Matan Kushner
47ae80b3de
docs: remove Fedora from install docs (#4636) 2022-11-22 13:15:26 -06:00
Matan Kushner
b9942306f8
Add Dimension as Starship sponsor (#4607) 2022-11-15 01:29:20 +09:00
Sagar
da927e4aaa
docs: duplicate installation instruction for Nixos in readme (#4433) 2022-10-02 13:50:38 -04:00
Daniel Letscher
ef52f9e77e
feat(winget): Add support for winget package manager (#4042)
* Add winget update release step

* Hardcode MSI URLs for wingetcreate

* Fix variable expansion reference

* Add winget install documentation

* Revert removing MSI installer documentation

Co-authored-by: Daniel Letscher <Letsch22@users.noreply.github.com>
2022-06-23 12:28:50 +02:00
David Knaack
89fd5320af
feat(release): add windows msi installers (#4031)
* feat(release): add windows msi installers

* add install documentation

* use intransparent ico-file

* run installer tests on push, add continue-on-error
2022-06-02 22:26:10 +02:00
David Knaack
382445dc4d
fix(nu): use the most recent starship init (#3908) 2022-05-04 19:02:39 -04:00
Kevin Song
538329d9b4
fix(init): Change Elvish init to catch for 0.18 (#3769) 2022-03-25 11:57:38 +01:00
David Knaack
c9b75fe115
fix(init): Change Nushell init for nu 0.60 (#3773) 2022-03-24 15:06:24 -04:00
Matan Kushner
52fa4bbab4
docs: add SWU banner to README 2022-03-14 20:16:51 -05:00
Matan Kushner
48f1f756f8
fix: use shell-compatible curl install (#3691) 2022-03-08 15:47:54 -05:00
Matan Kushner
bf55a9478a
docs: add snapcraft to installation instructions (#3513) 2022-01-25 15:49:48 -06:00
Kevin Song
0965667807
ci: Use dprint to format documentation + TOML files (#3426)
Adds Rust-based standardized markdown formatting and a CI step to catch unformatted files.
2022-01-20 11:32:09 +03:00
Matan Kushner
0da178780f
docs: break installation instructions to collapsable sections (#3448)
As the number of supported systems and shells has grown, we've had to hand-pick what installation methods would be the "blessed" ones to show on our README. This change changes that to include all installation methods, but hides them each into OS and shell-specific collapsed sections, as is done by the excellent ajeetdsouza/zoxide.
2022-01-19 00:11:01 +03:00
Rashil Gandhi
c335b4267b
feat: add support for cmd (#3277)
* feat: add support for cmd

* add preprompt and precmd support

* add keymap support

* add info about minimum Clink version

* simplify escaping

* add handling for cmd custom commands

* add support for transient_prompt and transient_rprompt

* Revert 914057952508e81e20086fcb707ba2a0be85fdd3

This reverts commit "add support for transient_prompt and transient_rprompt"

* Apply suggestions from code review

* disable cmd shell custom commands

* any shell other than cmd can be used

* better error and correct script location

* move shell check in `map_no_escaping`
2022-01-09 23:47:53 -06:00
David Knaack
67cddb616b
fix(elvish): upgrade shell integration for v0.17 (#3310) 2021-12-30 09:49:55 +01:00
Matan Kushner
1cc83254d9
docs(i18n): add Indonesian and Italian docs (#3339) 2021-12-21 04:30:59 -05:00
Matan Kushner
6bdde634e9
docs: "Example:" → "With" 2021-10-29 13:40:28 -04:00
Matan Kushner
16f8c23614
docs: remove Open Collective from README.md 2021-10-22 00:58:51 +02:00
Matan Kushner
ce168e3241
docs: add Brazilian Portuguese translations to the docs and website (#3009) 2021-08-26 16:44:58 -04:00
Andy Kipp
6271db4962
docs: Fix typo (#2900) 2021-07-19 20:23:49 +02:00
Jeremy Schlatter
b1dcd5aecd
feat: add support for xonsh (#2807)
* feat: add support for xonsh

* xonsh: add STARSHIP_SESSION_KEY

* xonsh: implement STARSHIP_SESSION_KEY in xonsh

* docs: mention tcsh, elvish, and nu in more places

* xonsh: change STARSHIP_SESSION_KEY implementation

See https://github.com/starship/starship/pull/2807#discussion_r667064149

* xonsh: fix jobs implementation

* xonsh: do not silently discard stderr from starship
2021-07-16 15:25:01 -04:00
Matan Kushner
57a523e4c2
docs(nu): specify how to get nushell config path (#2856) 2021-07-04 21:59:40 -04:00
David Knaack
cea1a1ceb1
feat: add support for nu shell (#2847) 2021-07-04 15:32:58 -04:00
Thomas O'Donnell
fb02a4523b
feat(install): Add help argument to install.sh (#2729) 2021-05-18 10:01:02 -04:00
Dario Vladović
ea35359a09
docs: update install instructions (#2553)
Use POSIX `sh`, mitigate possible timing attacks.
2021-04-08 19:42:45 +02:00
masa
9cf15b7840
docs: Add update documentation (#2418)
Added documentation about upgrading starship itself via bash script.
2021-04-01 09:38:51 -05:00
Dario Vladović
4375517d9a
docs: format markdown (#2493)
Remove trailing whitespace and extra newlines.
2021-03-24 21:44:52 +01:00
Vivek Malneedi
69b9bf72c3
fix(tcsh): remove quotes and escape backticks (#2429)
* feat: add support for tcsh

* add tcsh to install.sh install message

* list tcsh in bug_report.rs and main.rs

* quote starship path

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* fix job count

* add tcsh support to shell module

* fix STARSHIP_START_TIME undefined error

* preserve existing user precmd and postcmd, remove jobs support

* remove unnecessary parentheses

* minor script improvement

* removes parens from install script message

* Update docs/config/README.md

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>

* fix(Tcsh): remove unecessary quotes

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-03-12 16:27:04 +01:00
Vivek Malneedi
d21400a478
feat: add support for tcsh (#2288)
* feat: add support for tcsh

* add tcsh to install.sh install message

* list tcsh in bug_report.rs and main.rs

* quote starship path

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>

* fix job count

* add tcsh support to shell module

* fix STARSHIP_START_TIME undefined error

* preserve existing user precmd and postcmd, remove jobs support

* remove unnecessary parentheses

* minor script improvement

* removes parens from install script message

* Update docs/config/README.md

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>

Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-02-27 19:55:27 +01:00
Matan Kushner
e7246cee82
chore: update Discord link to use vanity URL 2021-02-08 14:54:28 -05:00
David Knaack
22dc8b842e
feat: add support for elvish shell (#1725)
* feat: add support for elvish shell

* improve doc

* elvish 0.15 is out

* fix example init

* update systax for 0.15 stable

* udpate second init example too

* remove warning from swift module

* add warning to status module docs

* prefix elvish version with v
2021-02-02 12:59:55 +01:00
Matan Kushner
6afd9ecaf3
docs(i18n): add Vietnamese doc translations 2021-01-26 17:25:25 -05:00
David Knaack
0faa05628e
docs: highlight powershell in vuepress (#2147) 2021-01-14 15:48:06 -05:00
Dani
d009db528d
docs(installation): add advanced installation (#1643)
Adds an "Advanced Installation" page to the documentation website.
2021-01-05 17:05:03 -06:00
Matan Kushner
f9ac1eacad
docs(i18n): add French and Spanish doc translations (#1942) 2020-11-29 14:33:38 -05:00
David Knaack
368945f5db
docs(pwsh/init): various fixes for init doc (#1793) 2020-11-03 18:52:46 +01:00