1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-14 17:24:06 +00:00
Commit Graph

44 Commits

Author SHA1 Message Date
David Knaack
7485c90c9f
feat(docs): move to vitepress (#5785)
* feat(docs): move to vitepress

* change up hero styles to match existing site

* A bit more style tweaking

* Replace stylus with plain CSS

* improve unicode-range value for nerdfont

---------

Co-authored-by: Matan Kushner <hello@matchai.dev>
2024-03-03 17:55:30 +01: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
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
Jérémy Audiger
8c2135f55d
docs(typo): replace 'to to' with 'to' (#4773)
fix: 'to to' -> 'to'
2022-12-29 18:57:54 +01:00
Shafi Chowdhury
4bed91ee34
docs: added winget (#4377)
* docs: added winget

* fixed formatting

* removed scoop instruction

* fixed formatting
2022-10-07 22:35:36 +02:00
David Knaack
a43628d06c
chore(dprint): fmt & upgrade plugins (#3969) 2022-05-06 19:47:30 -05:00
David Knaack
382445dc4d
fix(nu): use the most recent starship init (#3908) 2022-05-04 19:02:39 -04:00
Thomas O'Donnell
5174c9a067
doc: Fix spacing for translations (#3920)
Have added so additional spaces around the vuepress markers, `:::`, to
ensure that the don't get included in the line above and below and cause
formatting errors in the translated versions of the documentation.
2022-04-25 11:35:09 -05: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
48f1f756f8
fix: use shell-compatible curl install (#3691) 2022-03-08 15:47:54 -05: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
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
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
Matan Kushner
1ff1f2b5dd
docs: add prerequisites to homepage 2021-04-08 16:16:11 -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
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
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
David Knaack
368945f5db
docs(pwsh/init): various fixes for init doc (#1793) 2020-11-03 18:52:46 +01:00
Yudai Hayashi
5740b7d18a
docs: Update document for installing on windows (#1760)
* Update document for installing on windows

* Revert "Update document for installing on windows"

This reverts commit 5dc8db05c4db4ff1a22852b32ba3d796e4c578c1.

* Update document (English version only) for installing on windows

* Change the expression

* Fixed the grammer misstake
2020-10-14 12:22:02 -04:00
Matan Kushner
79d137bf5c
revert: "docs: add Netlify link to footer"
This reverts commit aedfe42a8c.
2020-02-22 12:57:49 -05:00
Matan Kushner
aedfe42a8c
docs: add Netlify link to footer 2020-02-21 12:33:09 -05:00
Matan Kushner
40bbd5d3cb
docs: Replace project tagline 2020-02-12 21:46:00 -05:00
Matan Kushner
4cf51eb097
docs: Add a meta title for SEO 2020-02-02 20:03:47 -05:00
Matan Kushner
b61034f3fe
docs: Improve description meta tag for SEO 2020-02-02 19:51:48 -05:00
Matan Kushner
b1de63b7a3
docs: Fix landing page formatting 2019-12-17 16:48:17 -05:00
Matan Kushner
e078bf4727
docs: Make website docs consistent with README.md 2019-12-17 16:46:43 -05:00
Matan Kushner
ffef8ff144
docs: Add playsinline to landing page video 2019-12-09 16:13:48 -05:00
BSKY
c58bbcd386 docs: Update installation instructions for fish-shell (#599) 2019-10-29 12:48:45 +09:00
Jürgen Gmach
59148ac4ad docs: Update required Rust version to v1.38 (#592) 2019-10-26 12:20:18 +09:00
David Knaack
6ab70796db feat: Implement PowerShell support (#470) 2019-10-16 00:10:16 +09:00
Bruno Bigras
ed27cf4a2c docs: add termux install instructions (#248) 2019-08-27 19:32:26 -04:00
Matan Kushner
e31b3391f1
docs: Add new demo gif to README (#231)
Since the prompt has been updated to have a new default character symbol, it's time we update the demo gif to reflect those changes.
2019-08-22 20:03:45 -04:00
Bruno Bigras
ff8b2a3387 docs: Add Nix installation instructions (#191) 2019-08-20 00:50:35 -04:00
Matan Kushner
2e39c6d0fa
docs: Small README.md fixes 2019-08-19 15:50:36 -04:00
Kevin Song
a8a553578b docs: Add AUR install instructions (#187) 2019-08-19 11:10:25 -04:00
Matan Kushner
f7a77edb35
docs: Update setup instructions on landing page (#184) 2019-08-18 13:45:36 -04:00
Matan Kushner
95ce43ee70
docs: Attribute copyright to Starship Contributors (#115) 2019-07-25 12:50:29 -04:00
Tiffany Le-Nguyen
08cf33522a docs: Add vuepress with initial docs (#99)
Co-authored-by: Tiffany Le-Nguyen <tlenguyen@expedia.com>
Co-authored-by: Matan Kushner <hello@matchai.me>
2019-07-19 16:18:52 -04:00