Commit Graph

590 Commits

Author SHA1 Message Date
Sam Kvale f5a6c4cdbd
docs: update package default format to replace /via/is ()
https://github.com/starship/starship/blob/master/src/configs/package.rs#L17
2021-01-04 11:56:25 -05:00
Matan Kushner 4cb8b1f0e8
docs(i18n): New Crowdin updates ()
* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (French)

* New translations README.md (Italian)

* New translations README.md (Arabic)

* New translations README.md (Korean)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Dutch)

* New translations README.md (Russian)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (Spanish)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Simplified)

* New translations README.md (Chinese Traditional)

* New translations README.md (Spanish)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Korean)

* New translations README.md (Arabic)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Dutch)

* New translations README.md (French)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (Spanish)

* New translations README.md (Russian)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Korean)

* New translations README.md (Arabic)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Dutch)

* New translations README.md (French)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (Spanish)

* New translations README.md (Russian)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Italian)

* New translations README.md (Korean)

* New translations README.md (Arabic)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Dutch)

* New translations README.md (French)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (Spanish)

* New translations README.md (Russian)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Arabic)

* New translations README.md (Italian)

* New translations README.md (Korean)

* New translations README.md (Dutch)

* New translations README.md (Polish)

* New translations README.md (French)

* New translations README.md (Spanish)

* New translations README.md (German)

* New translations README.md (Japanese)

* New translations README.md (Russian)

* New translations README.md (Chinese Simplified)

* New translations README.md (Chinese Traditional)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Turkish)

* New translations README.md (Russian)

* New translations README.md (Russian)

* New translations README.md (Russian)

* New translations README.md (Italian)

* New translations README.md (Korean)

* New translations README.md (Arabic)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Dutch)

* New translations README.md (French)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (Spanish)

* New translations README.md (Russian)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (German)

* New translations README.md (German)

* New translations README.md (German)

* New translations README.md (German)

* New translations README.md (Italian)

* New translations README.md (Korean)

* New translations README.md (Arabic)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Dutch)

* New translations README.md (French)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (Spanish)

* New translations README.md (Russian)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Italian)

* New translations README.md (French)

* New translations README.md (Spanish)

* New translations README.md (Arabic)

* New translations README.md (German)

* New translations README.md (Japanese)

* New translations README.md (Korean)

* New translations README.md (Dutch)

* New translations README.md (Polish)

* New translations README.md (Portuguese)

* New translations README.md (Russian)

* 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 (Italian)

* New translations README.md (Korean)

* New translations README.md (Arabic)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Dutch)

* New translations README.md (French)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (Spanish)

* New translations README.md (Russian)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (German)

* New translations README.md (Japanese)

* New translations README.md (Portuguese)

* New translations README.md (Spanish)

* New translations README.md (French)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Russian)

* New translations README.md (Arabic)

* New translations README.md (Italian)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Korean)

* New translations README.md (Dutch)

* New translations README.md (German)

* New translations README.md (Japanese)

* New translations README.md (Portuguese)

* New translations README.md (Spanish)

* New translations README.md (French)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Russian)

* New translations README.md (Arabic)

* New translations README.md (Italian)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Korean)

* New translations README.md (Dutch)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (German)

* New translations README.md (Japanese)

* New translations README.md (Portuguese)

* New translations README.md (Spanish)

* New translations README.md (French)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Russian)

* New translations README.md (Arabic)

* New translations README.md (Italian)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Korean)

* New translations README.md (Dutch)

* New translations README.md (Chinese Simplified)

* New translations README.md (Russian)

* New translations README.md (Russian)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese)

* New translations README.md (Japanese)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (German)

* New translations README.md (Chinese Simplified)

* New translations README.md (Chinese Traditional)

* New translations README.md (Spanish)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Arabic)

* New translations README.md (Korean)

* New translations README.md (Italian)

* New translations README.md (Italian)

* New translations README.md (Korean)

* New translations README.md (Arabic)

* New translations README.md (Spanish)

* New translations README.md (Turkish)

* New translations README.md (French)

* New translations README.md (French)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Polish)

* New translations README.md (Dutch)

* New translations README.md (Dutch)

* New translations README.md (German)

* New translations README.md (Japanese)

* New translations README.md (Portuguese)

* New translations README.md (Spanish)

* New translations README.md (French)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Russian)

* New translations README.md (Arabic)

* New translations README.md (Italian)

* New translations README.md (Turkish)

* New translations README.md (Polish)

* New translations README.md (Korean)

* New translations README.md (Dutch)
2021-01-03 09:56:07 +01:00
Hugues Morisset cfff77043e
feat(status): Convert known status code to their meaning ()
User is able to choose if their want to display the meaning of known status code in place of number.
2021-01-02 21:09:13 -06:00
David Knaack 6de4bb01f4
feat(battery): make module behaviour more obvious () 2021-01-01 12:16:55 +01:00
Nicola Corti 208251adef
feat(kotlin): Add the kotlin module ()
Add a module to show the currently installed Kotlin version if a
.kt/.kts file is found in the current folder
2020-12-26 15:26:50 +01:00
花蛄 4f51ef8db1
feat(package): Meson package support ()
* Add package version support for Meson meson.build.

* Update docs with Meson package version support.
2020-12-19 14:17:34 +01:00
adrian5 9a2355c164
docs: fix typo in config () 2020-12-18 12:24:48 -05:00
Daniel Beckwith 1296632ff4
feat(shlvl): Add `repeat` option () 2020-12-14 15:40:21 -05:00
dependabot-preview[bot] 55b662eaf3
build(deps): [security] bump ini from 1.3.5 to 1.3.8 in /docs ()
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-12-14 15:39:40 -05:00
Matan Kushner b150e85e8d
docs: add 'autocomplete' keyword to FAQ 2020-12-14 12:54:30 -05:00
James Ross f311c3cbf5
docs: Correct dotnet module default format to match code () 2020-12-11 12:20:39 -06:00
Sagittarius-a d670212a08
feat(git_branch): show remote name ()
* feat(git_branch): Show remote name in addition to remote branch

* feat(git_branch): Fix table indentation in config README

* feat(git_branch): Use a different method to fetch remote information

* feat(git_branch): Fix the Clippy issue regarding string constant
2020-12-08 11:12:53 +01:00
Paulo Santana 936962ee3c
docs(preset): add a Nerd Font icon for "read_only" directories () 2020-12-06 19:33:29 -05:00
yangsheng6810 a72977f7d4
feat(username): Try harder to guess if inside ssh ()
* feat: Try harder to guess if inside ssh

* Add test for SSH_CLIENT

* Update documentation on checking ssh connection

* Update docs/config/README.md

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

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-12-06 22:15:20 +01:00
Kesavan Yogeswaran 70dcd33aa2
docs(conda): Fix default format in Conda module's config doc ()
* docs: Fix default format string for Conda module

 #### Issues Addressed

 The default `format` string for the Conda module starts with "via", as
 seen [here](2e763b5e7c/src/configs/conda.rs (L19)).
 However, this is not reflected in the config docs.

 Many similar modules include "via" in their default format string so I
 assume including it is the intended behavior, and that the doc should
 be updated.

 #### Summary of Changes

 Correct the default `format` string for the Conda module in the config
 docs.

* Revert changes to i18n files

Revert changes to i18n files, as these must be handled by Crowdin
2020-12-06 21:02:15 +01:00
quentm74 2e763b5e7c
feat: Move cmd_duration after custom module () 2020-12-05 19:57:22 +01:00
t-mangoe 89588a7391
feat(nodejs): check node engines version in package.json ()
* check node engines version in package.json

* fix code, following review.
2020-12-05 12:25:48 +01:00
Cody Bloemhard ef311408db
fix: bg:none overwrites foreground colour ()
Changes the behaviour of a bg:none color string so that
it causes the background to have no color instead of
decoloring the entire string like it did before.
2020-12-02 00:40:15 -06:00
Thomas O'Donnell cf8a6d0738
feat(python): Smarter python binary usage ()
Update the python module to try multiple python binaries when
determining the version. With the new logic if starship doesn't find
`python` on the `PATH`, which is the default for some Linux Distros, it
will fallback to `python3` and then `python2`.
2020-11-30 13:14:18 -06:00
Zane Shelby 389e006c00
feat(java): Show Java module for Clojure projects () 2020-11-30 13:50:56 +01:00
Matan Kushner f9ac1eacad
docs(i18n): add French and Spanish doc translations () 2020-11-29 14:33:38 -05:00
Matan Kushner ea6f5e429c
docs(i18n): New Crowdin updates () 2020-11-28 23:45:59 -05:00
Sagittarius-a 688f1b3457
feat(git_branch): add remote branch name if different than local branch ()
* feat(git_branch): add remote branch name if different than local branch

* feat(git_branch): Implement a more customizable remote branch

* feat(git_branch): Use more explicit API function name

* feat(git_branch): Remove forgotten draft documentation

* feat(git_branch): Set less verbose defaults

* feat(git_branch): Handle case to always display remote

* feat(git_branch): Fix error in rebase operation
2020-11-23 22:07:16 +01:00
Aaron Gable 4b85b40cb0
feat(git_branch): add 'only_attached' config bool ()
* feat(git_branch): add 'only_attached' config bool

This adds a new boolean, `only_attached`, to the configuration for
the `git_branch` module. This mirrors the `only_detached` config
value for the `git_commit` module: setting the value to true causes
the module to suppress its output when the user is not on a branch.

This allows users to have either a branch name or a commit hash in
their prompt, as opposed to having either a branch name or the
overly-wordy "HEAD (sha1)".

* Fix formatting
2020-11-23 19:22:51 +01:00
Matan Kushner 29117c4817
Update config.js 2020-11-21 17:17:17 -05:00
Giorgio Gallo 87424d2eaf
docs: update rust icon in preset configuration () 2020-11-17 20:32:48 +01:00
Giorgio Gallo 045ee17817
docs: Alphabetic sorting of config subsections () 2020-11-14 19:41:58 +01:00
Adham ac88301294
feat(terraform): Add hcl extension support to Terraform module ()
* Add hcl file extension to terraform module

Signed-off-by: adhaamehab <adhaamehab.me@gmail.com>

* Update docs

Signed-off-by: adhaamehab <adhaamehab.me@gmail.com>
2020-11-14 18:33:21 +01:00
juno suárez 597fd40812
docs(cmd_duration): Document cmd_duration notifications ()
* docs: add options for cmd_duration notifications

Added in 

* Update docs/config/README.md

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

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-11-04 18:53:51 +01:00
David Knaack 368945f5db
docs(pwsh/init): various fixes for init doc () 2020-11-03 18:52:46 +01:00
Shu Kutsuzawa c6d25a6a38
feat(lua): Add a Lua module ()
* feat: add lua module

* docs: add lua module

* fix: lua version test

* feat: lua module can be detected if the current dir contains a "lua" dir

* feat: enable to use luajit

* fix: improve regex

* fix based on https://github.com/starship/starship/pull/1815#discussion_r510932742

* fix based on https://github.com/starship/starship/pull/1815#discussion_r511362581

* fix based on https://github.com/starship/starship/pull/1815#discussion_r510941252
2020-10-27 19:05:20 +01:00
Christoph Schlosser 89fc93d1f9
feat(cmake): Add CMakeCache.txt detection to CMake module ()
* Add CMakeCache.txt to cmake module

* Remove trailing whitespace

* Apply fixes by @andytom

* Add CMakeCache.txt to docs

* Revert documentation for languages other than en
2020-10-25 19:10:42 +01:00
Mauricio Teixeira eec961caaf
feat(openstack): Add module for OpenStack ()
* first (crude) attempt to implement the openstack module

* Attempt to follow OpenStack standards for clouds.yaml location

* fmt

* provide unittest

* add documentation

* fix fmt

* fix clippy

* fix clippy

* fix fmt

* fix small nitpicks

* expand openstack explanation

* load config file using find_map

* fix fmt

* add test for valid config, plus fix test for invalid config

* fix fmt

* re-add forgotten comment
2020-10-24 11:46:43 +02:00
Miguel Ángel Melón Pérez ea9f803018
feat(git_commit): add git tag to module () 2020-10-23 11:49:19 -04:00
dependabot-preview[bot] f9bed976c1
build(deps-dev): bump @vuepress/plugin-google-analytics in /docs () 2020-10-19 15:55:22 +00:00
dependabot-preview[bot] cdb8e6279d
build(deps-dev): bump vuepress from 1.6.0 to 1.7.1 in /docs ()
Bumps [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress) from 1.6.0 to 1.7.1.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.7.1/packages/vuepress)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 11:50:17 -04:00
dependabot-preview[bot] 75304d5350
build(deps-dev): bump vuepress-theme-default-prefers-color-scheme ()
Bumps [vuepress-theme-default-prefers-color-scheme](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/releases)
- [Changelog](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/commits/v1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-10-19 11:46:57 -04:00
Jeremy Hilliker 3287e48b65
docs(memory): Remove removed options from Memory example ()
Remove the following options (unsupported since ec76faf & v0.45.0):
[memory_usage]
show_percentage = true
show_swap = true
separator = "/"

Signed-off-by: Jeremy Hilliker <dev.nospam@jeremyh.com>
2020-10-17 09:55:52 +02:00
Yudai Hayashi 5740b7d18a
docs: Update document for installing on windows ()
* 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 783eb3373d
fix: replace emoji for cmake and erlang () 2020-10-13 18:01:35 -04:00
Matan Kushner 02f7418820
docs(i18n): new Crowdin updates () 2020-10-13 15:09:01 -04:00
Thomas O'Donnell 9044f9e14c
docs: Update defaults in config docs ()
Have updated some of the config docs to correct the git_status default
that was incorrect. Have also taken the time to switch some of the
format strings to use toml literal strings rather than normal strings to
simplify the escape strings.
2020-10-12 00:10:39 -04:00
Mick Hohmann e7a83aa445
docs: fix wrong syntax in the format string and standardize doc tense () 2020-10-08 16:54:59 -04:00
Thomas O'Donnell 140009994d
docs(python): Update the python_binary option ()
* docs(python): Update the python_binary option

Have updated the documentation to make the `python_binary` option a bit
more prominent, since this is becoming a more requested requirement now
that more and more systems don't have a default `python` command.

* Correct order of python options
2020-10-06 02:09:06 -05:00
Matan Kushner 47492d686b
docs(FAQ): add FAQ about shell completions 2020-10-05 14:26:22 -04:00
Jeremy Hilliker 1673d565f4
feat(directory): add ellipsis to truncated paths ()
Adds ellipsis in front of truncated paths: …/
Configurable through new config option: directory.truncation_symbol
Fixes , 
2020-10-03 11:25:21 -05:00
Jeff Byrnes 476edc4ca1
docs: clarify missing info in 0.45.0 migration doc () 2020-10-01 16:48:14 -04:00
Matan Kushner 15c04e7d18
docs(i18n): new Crowdin updates () 2020-09-30 21:23:36 -04:00
Shu Kutsuzawa c02b335ee3
docs: Add a migration guide's link to sidebar for jp () 2020-09-30 20:40:06 -04:00
Matan Kushner ce73f6347f
docs(directory): fix $read_only variable names
Fixes 
2020-09-30 18:40:25 -04:00
Matan Kushner d8dcf04cff
docs(i18n): new Crowdin updates () 2020-09-30 16:26:13 -04:00
Érico Nogueira Rolim ae55697dfb
docs: Remove newline from beginning of example format config. ()
Having a newline there means that an empty newline is printed everytime
the user runs a command or presses Enter, which for short commands
and/or small terminal windows can noticeably decrease the information
density.
2020-09-29 23:39:20 -04:00
Matan Kushner 59f939e25c
chore: update v0.45.0 removal notice ()
* chore: update deprecation notice

* Add deprecation page to sidebar

* Replace the use of "deprected" with "removed"
2020-09-29 12:35:11 -04:00
dependabot-preview[bot] cb4d7d1908
build(deps-dev): bump vuepress-theme-default-prefers-color-scheme ()
Bumps [vuepress-theme-default-prefers-color-scheme](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/releases)
- [Changelog](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-28 23:43:52 -04:00
dependabot-preview[bot] 8eee234ff9
build(deps-dev): bump vuepress from 1.5.4 to 1.6.0 in /docs () 2020-09-29 03:34:38 +00:00
dependabot-preview[bot] 15b60c8534
build(deps-dev): bump @vuepress/plugin-google-analytics in /docs ()
Bumps [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/HEAD/packages/@vuepress/plugin-google-analytics) from 1.5.4 to 1.6.0.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.6.0/packages/@vuepress/plugin-google-analytics)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-09-28 23:23:56 -04:00
Tilmann Meyer 2233683410
feat: add error messaging ()
This creates a custom logger for the log crate which logs everything to a file (/tmp/starship/session_$STARSHIP_SESSION_KEY.log) and it logs everything above Warn to stderr, but only if the log file does not contain the line that should be logged resulting in an error or warning to be only logged at the first starship invocation after opening the shell.
2020-09-28 16:38:50 -04:00
Matan Kushner 3c668e6e6a
doc: small doc fixups 2020-09-28 12:38:14 -04:00
Thomas O'Donnell 7b09c86b0f
docs(git_status): Update git_status module docs ()
* docs: Update git_status module docs

Have updated the configuration docs for the `git_status` to remove a
non-existing option and to add an example for how to achieve the same
effect as with the new format strings.

* Add git_status changes to migration guide

Have added the change to the sync count to the migration guide. I also
corrected a few typos in the configuration.
2020-09-26 19:15:52 +02:00
Jan Katins ffb1345052
feat(status): add the status module ()
* add the exit code module

this allows to display more precisely the last command exit code
and to configure starship to not change the last charcter of the
prompt even in case of failure. It is disabled by default, because
it seems a bit redundant with the character module in its default
configuration.

* rename exit_code module to status

* Enforce a default disabled=true 

In the outer places, we only check for the disabled flag in the config toml file, only when this is loaded into the real config struct, we see the default. And if the default is true, we have to abort at that place. For status and hg_branch that wasn't so. I also commented the rest

* fix spaces in markdown table for status module

* Add a tip that status module is disabled by default

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

* Remove unrelated changes for default disabled=true

Co-authored-by: Gaëtan Lehmann <gaetan.lehmann@gmail.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-09-26 00:04:51 +02:00
Matan Kushner 17687be1cb
docs: add a migration guide for the format string changes ()
* Start writing migration guide

* Add prefix/suffix migration to guide

* Update docs/migrating-to-0.45.0/README.md

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

* Update docs/migrating-to-0.45.0/README.md

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

* Add missing quote

* Detail the modules affected by the change

* Document character and time migration

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-09-22 15:48:37 -04:00
Tilmann Meyer a245d54cdb
fix(git-state): Fix discrepancy between v0.44.0 and master () 2020-09-21 15:17:06 -04:00
Thomas O'Donnell bb324834a5
fix: restore the `pyenv_prefix` option to python ()
Have restored the `pyenv_prefix` option to the python module. This is
added as a new variable that will only be shown if `pyenv` is being used
to determine the version of python that is being used.
2020-09-21 11:48:26 -04:00
Matan Kushner d3100c5c82
fix: use suffixes for modules before directory ()
Previously, all modules would have prefixes, which lead to the first
module having a dangling prefix. This change ensures that the first
few modules would instead have suffixes so that we don't start or
end with a prefix or suffix.
2020-09-08 12:09:21 -04:00
Jan Katins 17e8115f16
docs: Improvements in docs for custom modules ()
* docs: Clarify that commands will be passed in on stdin

* docs: Clearer instruction how to include individual custom modules

* docs: Include link to  in docs for custom modules

That issue is used to share custom modules.

* docs: Remove reference to prompt_order

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

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-09-01 19:07:12 +02:00
dependabot-preview[bot] 6f347b71ed
build(deps-dev): bump @vuepress/plugin-google-analytics in /docs ()
Bumps [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/HEAD/packages/@vuepress/plugin-google-analytics) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.4/packages/@vuepress/plugin-google-analytics)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-25 10:50:57 -04:00
dependabot-preview[bot] 30dfed812b
build(deps-dev): bump vuepress from 1.5.3 to 1.5.4 in /docs ()
Bumps [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress) from 1.5.3 to 1.5.4.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.4/packages/vuepress)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-25 00:23:01 -04:00
dependabot-preview[bot] 46a51d7941
build(deps-dev): bump @vuepress/plugin-google-analytics in /docs ()
Bumps [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/HEAD/packages/@vuepress/plugin-google-analytics) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.3/packages/@vuepress/plugin-google-analytics)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-21 21:02:34 -04:00
Matan Kushner 09672eeea7
fix: re-add add_newline to root config () 2020-08-18 18:58:29 +02:00
Matan Kushner 1cd4f12bb4
Revert "fix: restore add_newline configuration ()" () 2020-08-17 12:30:01 -04:00
Matan Kushner 1652c0bdb1
fix: restore add_newline configuration () 2020-08-16 23:33:40 -04:00
Emanuele Aina 5ce4322a2c
docs: Drop inexistent "number" variable from hostname section ()
The hostname module does not provide any "number" variable, its presence
in the documentation is likely due to some copy&paste from the jobs
module section, so let's drop it.

Signed-off-by: Emanuele Aina <em@nerd.ocracy.org>
2020-08-15 11:02:20 +02:00
dependabot-preview[bot] 93c568e118
build(deps-dev): bump vuepress from 1.5.2 to 1.5.3 in /docs ()
Bumps [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.3/packages/vuepress)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-11 12:29:51 -04:00
dependabot-preview[bot] 996e7ddeb5
build(deps): [security] bump prismjs from 1.20.0 to 1.21.0 in /docs ()
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.20.0 to 1.21.0. **This update includes a security fix.**
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.20.0...v1.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-08 12:19:16 -04:00
Daniel A. White 0be9ffc0a1
feat(shlvl): Add shlvl module ()
* initial commit of support for shlvl

* documentation for shlvl

* use a symbol instead

* test coverage for shlvl

* actually disable when the config says to

* fix docs

* tweak defaults some

* refactor from pr comments

* redisable

* return early to avoid indenting

* make default suffix empty space

* fixing tests after suffix change

* updating docs for format

* making shlvl compatible with formatting

* adding variables table for shlvl

* removing extra line

* doc clarity
2020-08-05 18:30:01 +02:00
Stéphane Benoit c07b798046
docs: Add perl official logo in NerdFont () 2020-08-04 23:15:58 +02:00
Stéphane Benoit ef55042f2e
feat(perl): Added perl version module ()
Adds a module for perl support.
2020-08-04 11:22:44 -05:00
Takahiro Tsuruda c5f2eedf07
feat: Add gcloud module ()
* feat(gcloud): Add document of gcloud module

Signed-off-by: dulltz <isrgnoe@gmail.com>

* feat(gcloud): Add gcloud module

Signed-off-by: dulltz <isrgnoe@gmail.com>

* feat(gcloud): Add test for gcloud module

Signed-off-by: dulltz <isrgnoe@gmail.com>

* Apply the comment

https://github.com/starship/starship/pull/1493\#discussion_r456965413
Signed-off-by: dulltz <isrgnoe@gmail.com>
2020-08-03 23:30:20 +02:00
Thomas O'Donnell b845abe006
docs: Update example config to remove old var ()
Have updated the example toml config to remove an old var and replace it
with the updated replacement.
2020-08-02 19:16:25 +02:00
Steve Smith b14be4dfb1
feat(package): Add Maven pom.xml version support ()
* Add gitignore for Emacs backup files.

* Add package version support for Maven pom.xml.

* Update docs with Maven package version support.

* Fix for clippy.
2020-07-31 09:54:03 +02:00
Jason Wang acefbc523f
feat(conda): add ignore_base option ()
* Add ignore_base to conda module

* Add ignore_base to conda module in English docs

* `ignore_base` defaults to `true`
2020-07-30 18:57:15 +02:00
dependabot-preview[bot] 44885f571b
build(deps): [security] bump elliptic from 6.5.2 to 6.5.3 in /docs ()
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-29 19:00:31 -04:00
Dario Vladović 84f049f836
feat(dart): add Dart module () 2020-07-29 11:38:23 -04:00
Dario Vladović feb4124cac
feat(swift): add Swift module () 2020-07-29 11:36:49 -04:00
Simão Mata 1acce65462
feat(package): Add support for Helm charts ()
Signed-off-by: Simão Mata <sm@0io.eu>
2020-07-29 14:06:47 +02:00
Matan Kushner 5f7dd0ede8
docs(i18n): New Crowdin translations () 2020-07-23 17:07:10 -04:00
dependabot-preview[bot] 0120c33c52
build(deps-dev): bump vuepress-theme-default-prefers-color-scheme ()
Bumps [vuepress-theme-default-prefers-color-scheme](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme) from 1.0.9 to 1.1.0.
- [Release notes](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/releases)
- [Changelog](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/compare/v1.0.9...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-07-20 21:54:56 -04:00
Dario Vladović 7d32784441
docs: fix code block overflow on mobile () 2020-07-19 19:53:23 -04:00
Matan Kushner c4fa87a213
docs: add uninstallation instructions to FAQ () 2020-07-18 16:57:12 -04:00
dependabot[bot] 3363d5fb69
build(deps): bump lodash from 4.17.15 to 4.17.19 in /docs ()
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-17 16:06:12 -04:00
Batuhan Apaydın 03d75eb419
feat(helm): Add Helm module ()
Signed-off-by: Furkan <furkan.turkal@hotmail.com>

Co-authored-by: Furkan <furkan.turkal@hotmail.com>
2020-07-17 09:51:25 +02:00
Alexey Chernyshov 57c39437bc
feat(directory): Show lock symbol if current directory is read only ()
Add feature to display icon if current directory is read-only.
2020-07-13 16:55:42 -05:00
Tilmann Meyer bd68970fab
feat(cmake): Add CMake module ()
* feat: CMake module

* docs: Document symbol variable
2020-07-09 21:40:33 +02:00
Zhenhui Xie ec76fafff0
feat: refactor modules to use format strings () 2020-07-07 18:45:32 -04:00
Matan Kushner 13597faef3
docs: update font in FAQ from Fira Code → FiraCode Nerd Font 2020-07-06 19:00:42 -04:00
Matan Kushner f102356b1e
docs: replace powerline requirement with nerd font requirement 2020-07-06 17:19:28 -04:00
Matan Kushner 428a78ebb5
fix!: remove haskell module ()
Given how slow the Haskell module is (), it is slowing down the entire prompt
from rendering when the module is active. This commit removes the module until we
can find a faster way to retreive the Haskell version.
2020-07-06 13:00:52 -04:00
Muhammad Mejanul Haque 14c4ce1974
docs: show current directory in terminal window title () 2020-07-01 20:46:40 -04:00
Matan Kushner 2cc2469cfe
docs: update dotfile link in FAQ 2020-06-24 12:21:01 -04:00
Dario Vladović b176fc35ac
feat(nodejs): support additional file patterns () 2020-06-21 10:33:58 +02:00
Daniel A. White b238574100
feat(dotnet): adds additional files to detect .net projects ()
* adds additional files to detect .net projects

* test .net output with a regex pattern
2020-06-21 10:22:20 +02:00
Matan Kushner ee3c0ec9d5
docs(i18n): new Crowdin translations () 2020-06-19 17:05:45 -04:00
Dario Vladović 16b648581e
style(docs): remove `$` prefix from shell snippets () 2020-06-17 07:31:24 -05:00
Kevin Song 2a57c69459
docs: Add FAQ entry on missing symbols ()
Adds FAQ entry for what to do if powerline/emoji symbols are missing.

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-06-15 18:12:43 -05:00
dependabot-preview[bot] f786cc9f56
build(deps-dev): bump @vuepress/plugin-google-analytics in /docs ()
Bumps [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/HEAD/packages/@vuepress/plugin-google-analytics) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.2/packages/@vuepress/plugin-google-analytics)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 18:58:52 +02:00
Zak Scholl 66297427a8
docs(python): Fix typo in advanced configuration () 2020-06-15 18:46:08 +02:00
dependabot-preview[bot] 3bce358516
build(deps-dev): bump vuepress from 1.5.1 to 1.5.2 in /docs ()
Bumps [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.2/packages/vuepress)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-15 18:44:30 +02:00
Thomas O'Donnell 055986e2b1
feat(python): Add option to change the python binary ()
* Add option to change the python binary

We are going to start to have problems with the python binary as python2
is removed and replaced with python3. To make the transition easier I
have added an option to the python module to allow the user to pick a
particular binary, e.g `python3`, for the module to use when selecting
the version of python. I have also refactored the python tests moving
almost all of them into the module and removing the dependency on the
version of python that is installed on the system.

* Add advanced config section to python module docs

Have added an advanced config section to the python module docs and
moved the `python_binary` option into that section.
2020-06-14 11:27:10 +02:00
Matan Kushner e29140a3cd
docs(i18n): new Crowdin translations ()
* New translations README.md (Portuguese, Brazilian)

* New translations README.md (German)

* New translations README.md (French)

* New translations README.md (Japanese)

* New translations README.md (Spanish)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Portuguese)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Simplified)

* New translations README.md (Russian)

* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (Chinese Simplified)

* New translations README.md (Chinese Traditional)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (French)

* New translations README.md (Spanish)

* New translations README.md (German)

* New translations README.md (Russian)

* New translations README.md (Japanese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Simplified)

* New translations README.md (Chinese Traditional)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (French)

* New translations README.md (Spanish)

* New translations README.md (German)

* New translations README.md (Russian)

* New translations README.md (Japanese)

* New translations README.md (French)

* New translations README.md (Japanese)

* New translations README.md (German)

* New translations README.md (Spanish)

* New translations README.md (Chinese Traditional)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Portuguese)

* New translations README.md (Chinese Simplified)

* New translations README.md (Russian)

* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (Chinese Traditional)

* New translations README.md (Chinese Traditional)

* New translations README.md (Portuguese)

* New translations README.md (Portuguese)

* New translations README.md (Chinese Simplified)

* New translations README.md (Portuguese, Brazilian)

* New translations README.md (French)

* New translations README.md (French)

* New translations README.md (Spanish)

* New translations README.md (Spanish)

* New translations README.md (German)

* New translations README.md (German)

* New translations README.md (Chinese Simplified)

* New translations README.md (Japanese)

* New translations README.md (Japanese)

* New translations README.md (Russian)

* New translations README.md (Russian)

* New translations README.md (Japanese)

* New translations README.md (Japanese)

* New translations README.md (Japanese)

* New translations README.md (Japanese)
2020-06-10 21:28:04 -04:00
dependabot-preview[bot] 27ba0accaf
build(deps-dev): bump @vuepress/plugin-google-analytics in /docs ()
Bumps [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/HEAD/packages/@vuepress/plugin-google-analytics) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.1/packages/@vuepress/plugin-google-analytics)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-10 12:30:22 -04:00
dependabot-preview[bot] a11e173e27
build(deps-dev): bump vuepress from 1.5.0 to 1.5.1 in /docs ()
Bumps [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.1/packages/vuepress)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-10 12:17:09 -04:00
Rekihyt fcd003785b
feat(nim): Add Nim module ()
* Nim module and tests

* Add nim to docs

* parse_nim_version refactor, add nim desc

* Add nim symbol to Nerd Font preset

* Yellow with v prefix as default version

* Nim version fmt fix

* Update docs/config/README.md

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>

* Update src/modules/nim.rs

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>

* Nim module and tests

* Add nim to docs

* Yellow with v prefix as default version

* Update docs/config/README.md

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>

* Update src/modules/nim.rs

Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>

* Add nim to docs, proper version formatting.

* Remove v from symbol, add to fmt string

* cargo fmt

Co-authored-by: Dario Vladovic <d.vladimyr@gmail.com>
2020-06-09 19:14:47 +02:00
dependabot-preview[bot] db24a173d9
build(deps-dev): bump vuepress-theme-default-prefers-color-scheme ()
Bumps [vuepress-theme-default-prefers-color-scheme](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme) from 1.0.6 to 1.0.9.
- [Release notes](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/releases)
- [Changelog](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tolking/vuepress-theme-default-prefers-color-scheme/compare/v1.0.6...v1.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-06 10:59:22 -04:00
dependabot-preview[bot] 42768cf9dd
build(deps-dev): bump @vuepress/plugin-google-analytics in /docs ()
Bumps [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/HEAD/packages/@vuepress/plugin-google-analytics) from 1.3.1 to 1.5.0.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.0/packages/@vuepress/plugin-google-analytics)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-06 10:53:59 -04:00
Matan Kushner 27fd51f8c7
docs: remove grayscale 2020-06-06 10:51:48 -04:00
dependabot-preview[bot] 05a207aecd
build(deps-dev): bump vuepress from 1.3.1 to 1.5.0 in /docs ()
Bumps [vuepress](https://github.com/vuejs/vuepress/tree/HEAD/packages/vuepress) from 1.3.1 to 1.5.0.
- [Release notes](https://github.com/vuejs/vuepress/releases)
- [Changelog](https://github.com/vuejs/vuepress/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuepress/commits/v1.5.0/packages/vuepress)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-06-06 10:48:19 -04:00
Matan Kushner a62712d33d
docs: add #BLM badge 2020-06-02 15:16:03 -04:00
Matan Kushner da6c2c0d4b
docs: #blacklivesmatter 2020-06-02 11:49:38 -04:00
John Letey bed4d40dd8
docs: #blacklivesmatter () 2020-06-02 11:42:51 -04:00
Samuele Esposito fe2b3d491e
feat(time): Show module with time range ()
* Creation of range field in TimeConfig

* time_range parsing

* Hide time module if outside of time_range

* Tidying of code, and properly handling more cases

* is_inside_time_range function

* Tests and fmt

* Update docs

* The configuration needs the 24-hours format

* Fix clippy errors
2020-05-31 19:43:08 +02:00
Radu Butoi ab1c3d1c54
feat(directory): Add directory substitutions ()
Adds an option to provide a table of strings to substitute in the
directory string. Fixes .

Co-authored-by: Radu Butoi <butoi@google.com>
2020-05-31 19:32:35 +02:00
Jimmy Royer a3470bf9fb
docs(custom): add warning about custom command potentially freezing terminal () 2020-05-28 11:37:54 -04:00
Grégoire Geis 09996159f4
fix(custom): improve handling of Powershell prompts ()
To improve overall support of PowerShell in custom modules,
the ability to pass arguments to the shell was also added. Additionally,
the arguments `-NoProfile -Command -` will be automatically passed
to PowerShell, unless other arguments are given by the user.
2020-05-27 09:38:05 +02:00
Matan Kushner accba5027d
docs(i18n): new Crowdin translations () 2020-05-23 19:10:58 -04:00
nobv 63799b97d1
feat(PureScript): Add Purescript module ()
* Added configs/purescript

* Added modules/purescript

* Added necessary codes

* Added tests

* Updated README

* Fixed color because black is hard to see

* Fixed of push mistake

* Fixed pointed out in PR
2020-05-22 18:26:58 +02:00
Dario Vladović c008f4041b
feat: add Zig module () 2020-05-21 18:49:49 +02:00
Hirochika Matsumoto 9e8f35d746
feat(ocaml): Add OCaml module ()
* Add OCaml module

* Update README.md accordingly

* Fix typo

* Add Reason support

Obtain OCaml version using `-vnum` flag.
Extend conditions to match projects using jbuild, esy
or merlin.

* Update README.md

Co-authored-by: Dario Vladovic <d.vladimyr@gmail.com>
2020-05-21 18:43:13 +02:00
Matt Kadlubowski 1b2ea77b1c
docs: Updated config with a tip for PowerShell user ()
Added a tip with information about how a PowerShell user can
override default starship.toml file location path in his PowerShell
profile.
2020-05-21 18:22:45 +02:00
Matan Kushner 90dd4eebd6
docs: fix example Starship implementation in bash 2020-05-19 20:26:44 -04:00
Matan Kushner 77c42dca73
docs(i18n): new Crowdin translations () 2020-05-15 11:55:21 -04:00
Thomas O'Donnell 9251778a9c
docs: correct the configuration docs () 2020-05-13 18:19:21 -04:00
Matan Kushner 4607e21fa6
docs(i18n): new Crowdin translations () 2020-05-05 13:07:34 -04:00
Karol Fuksiewicz eba4d87612
feat(package): configurable displaying package version for packages marked as private ()
* feat(package): config for enabling package version in private packages

* test(package): refactor package tests
2020-04-28 10:53:30 +02:00
Benedikt Reinartz 8c17f7b97c
feat(erlang): Add Erlang module () 2020-04-27 12:09:42 +02:00
Tim Visée b2f203d043
docs: Remove unused closing tag from config page () 2020-04-20 14:51:36 +02:00
Alex Jurkiewicz 965338df95
feat(python): Add scan_for_pyfiles option ()
Also adds two new entries to the list of hardcoded files to check:
setup.py and __init__.py.
2020-04-14 10:26:51 +02:00
Grégoire Geis 15dc486e72
Add support for custom modules. () 2020-04-11 18:37:24 +02:00
Daniel Lo Nigro 5b8f869e5e
docs: Add details about musl build to readme ()
* Add details about musl build to readme

* Move details to FAQ
2020-04-10 19:58:10 +02:00
John Letey cd177cffa7
docs: update NerdFont preset to include new modules () 2020-04-09 12:49:54 -04:00
Udo Kramer d27b263023
feat(package): Add project version for Elixir () 2020-04-08 18:39:54 +02:00
Bernardo Meurer 7718450311
feat(nix_shell): add symbol to nix-shell module ()
* feat: add nix-shell icon

Fixes 

* style: make nix-shell bold blue by default

It better matches the whole theme around Nix and snowflakes.
2020-04-07 18:35:18 +02:00
Shu Kutsuzawa 2f449af680
Fix julia icon based on https://julialang.org/community/standards/ ()
According by this standards
> While "Julia" is a female name in many parts of the world, the programming language is not a person and does not have a gender.
2020-04-07 11:07:51 +02:00
Matan Kushner b01b498b9e
docs(i18n): new Crowdin translations () 2020-04-06 14:48:26 -04:00
Kevin Pullin 9924af55db
feat(aws): Use AWS_VAULT as the profile if set ()
* Use AWS_VAULT as the profile if set

[aws-vault](https://github.com/99designs/aws-vault) sets
the `AWS_VAULT` env var instead of `AWS_PROFILE` when an
aws-vault session is active.

This PR adds support for reading the AWS profile value from
the `AWS_VAULT` env var, giving priority to `AWS_VAULT` if both
it and `AWS_PROFILE` are set.

* Update docs for AWS_VAULT
2020-04-06 16:59:56 +02:00
Barnaby Keene b685bb2954
feat: add docker context module ()
* feat: add docker context module

Adds a simple module that checks for a Docker config file and if present, reads the `currentContext` value out and displays on the prompt with a whale.

* feat: add `only_with_compose_yml` option to docker_context

When enabled, will only show the docker context name if there's a docker-compose.yml file in the current directory.

* Update src/modules/docker_context.rs

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

* Update src/modules/docker_context.rs

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

* rename `only_with_compose_yml` configuration key to a more generic `only_with_files`

* Update src/modules/docker_context.rs

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

* re-order configuration table

* Update docs/config/README.md

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

* Update src/configs/docker_context.rs

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

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-05 21:42:55 +02:00
Shu Kutsuzawa bd016b6ce2
feat: Enable to display language version when `.<lang>-version` file exists. ()
* adjust https://github.com/sonnym/elmenv

* adjust https://github.com/syndbg/goenv

* adjust https://github.com/jenv/jenv

* adjust https://github.com/nodenv/nodenv

* adjust https://github.com/phpenv/phpenv

* adjust https://github.com/rbenv/rbenv

* add description

* golang.rs is executed rustfmt

* add testcases
2020-04-03 21:02:28 +02:00
sk1985 e38be5073f
feat(kubernetes): context aliases ()
* Allow kubernetes module to use aliases for contexts

* documentation for kubernetes context aliasing

* Apply suggestions from code review: consistent ordering of options in documentation

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

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-03 20:18:44 +02:00
Shu Kutsuzawa dba3467dee
feat: Add a julia module ()
* add a julia module

* Update docs/config/README.md

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

* fix based on https://github.com/starship/starship/pull/1030#pullrequestreview-381767326

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2020-04-03 20:16:34 +02:00
Shu Kutsuzawa edcec7eed8
feat(package): Add project version for julia ()
* add project version (for julia) to package module

* update docs
2020-04-03 20:16:22 +02:00
Matan Kushner 3ab4bab885
docs(i18n): new Crowdin translations () 2020-04-03 12:35:39 -04:00
oliver 4e0382d6bb
docs(memory_usage): Update example to have `disabled = false` () 2020-03-23 12:53:04 -04:00
Mick Hohmann be72797fd2
docs: alphabetize modules in config docs () 2020-03-15 21:07:08 -04:00
dependabot[bot] 950f976ac7
build(deps): bump acorn from 6.4.0 to 6.4.1 in /docs ()
Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-15 21:06:16 -04:00
Kevin Song f2fdaa2d31
docs(elixir): Minor typo fix for config docs () 2020-03-02 19:06:38 -05:00
KokaKiwi 243e97cfe6
feat: add Elixir module () 2020-03-01 22:29:27 -05:00
Christopher Goh 1eabd52725
docs(time): add missing quotations in options and examples () 2020-02-28 13:01:47 -05:00
Tadej Novak 7e66791cb2
feat: add singularity module () 2020-02-26 11:18:19 -05:00
Matan Kushner 79d137bf5c
revert: "docs: add Netlify link to footer"
This reverts commit aedfe42a8c.
2020-02-22 12:57:49 -05:00
Kevin Lane ce540fff7a
feat: display Gradle project version ()
This PR adds package version support for Gradle projects. The version number is extracted from the `build.gradle` file in the current directory, similar to existing support for other packages.
2020-02-21 14:12:21 -05:00
Matan Kushner aedfe42a8c
docs: add Netlify link to footer 2020-02-21 12:33:09 -05:00
Kevin Song c6d8031f36
docs: Update docs w/ details on fish-style truncation () 2020-02-20 18:08:20 -06:00
Heechul Ryu b529dcf9a0
docs: Fix kubernetes style doc `dimmed' ()
Fix an incorrect key in the Kubernetes doc (key was incorrectly labeled as `dim` where it should be `dimmed`)
2020-02-19 13:55:58 -06:00
Matan Kushner 40bbd5d3cb
docs: Replace project tagline 2020-02-12 21:46:00 -05:00
nesmyslny 0312c7b91e
feat(git_commit): Show the hash of commits when detached HEAD () 2020-02-12 14:56:29 -05:00
Matan Kushner 21003df0f5
docs: Make code blocks dark themed 2020-02-11 15:54:16 -05:00
Matan Kushner 3271b586f4
docs(i18n): Update translations () 2020-02-07 16:47:30 -05:00
Matan Kushner 54acc2cdc3
docs: Fix Japanese sidebar links 2020-02-07 16:22:39 -05:00
Matan Kushner 91008ba5f2
docs: Use Algolia DocSearch for docs 2020-02-07 12:36:39 -05:00
Matan Kushner 670c7a3591 docs: Update example snippets
Former-commit-id: e0526c871d95ea56f216d668866580268407f350
2020-02-05 23:00:25 -05:00
Andrew Prokhorenkov 273a937505 feat: Add an Elm module ()
Former-commit-id: d42137309da457a438b554601f0734db963a193e
2020-02-05 22:57:04 -05:00
Matan Kushner 2b53490e9e
docs(i18n): Add Simplified Chinese docs to the website and README.md () 2020-02-04 23:57:11 -05:00
Matan Kushner 6a762e83d1
docs: small doc touchups 2020-02-04 18:28:11 -05:00
Youssef Habri f665df226c
feat: Add Crystal version module () 2020-02-04 18:27:06 -05:00
Matan Kushner d4d4a01850
docs(i18n): Fix links in Japanese docs () 2020-02-04 14:31:52 -05:00
Matan Kushner 8e9d9409cf
docs(i18n): Update translations () 2020-02-04 12:11:36 -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 0ff4736729
docs: Add a border-radius to the hero video
Applying a border radius to the video hides the white corners that show when the site is in dark mode.
2020-02-01 18:17:07 -05:00
Andrew Prokhorenkov 9229a48bc9
fix(haskell): Add the Haskell module to the default prompt order () 2020-02-01 17:16:10 -05:00
Matan Kushner bd62b82d95
docs: Increase docs dark-mode contrast ratio 2020-01-28 14:17:18 -05:00
Brett Mandler f166797076 docs: Added dark theme to documentation () 2020-01-28 13:56:53 -05:00
Andrew Prokhorenkov 6f2c9fb397 feat: add Haskell Stack support ()
Add a Haskell Stack module when a stack.yaml file is detected
2020-01-25 00:48:39 -06:00
Sam Rose f4c095de92 fix(java): Add detection for *.gradle files ()
Currently the Java module detection looks for build.gradle specifically, but it's possible to rename build.gradle to *.gradle. This change adds Gradle files to the list of detected file extensions.
2020-01-24 10:22:30 -05:00
Matan Kushner 25b86dc82d
docs(i18n): Update translations () 2020-01-23 11:27:26 -05:00
Matan Kushner 88b9b0ffe2
docs(i18n): Add German docs to the website and README.md () 2020-01-21 15:49:49 -05:00
Matan Kushner 062dacb2e5
docs(i18n): Update translations () 2020-01-21 11:15:25 -05:00
Matan Kushner bfbe330549
docs(i18n): Add Russian docs to the website and README.md 2020-01-20 13:06:34 -05:00
Matan Kushner 754c3292ee
docs(i18n): Update translations ()
- Fix some broken markup on README.md
2020-01-20 13:04:11 -05:00
Gennady Koshkin 28c4b059f1 docs(i18n): Add Russian to the website language dropdown () 2020-01-20 12:46:54 -05:00
Matan Kushner ddfcee3809
docs(i18n): Update translated docs () 2020-01-15 12:23:25 -05:00
Justas Kazakauskas 45e6b3e052 docs: Document the STARSHIP_CONFIG env variable () 2020-01-04 14:20:07 -05:00
marblenix b82ff321fa feat(git_status): Add a stash count segment () 2019-12-28 22:20:36 -05:00
Matan Kushner 75b103a44a
docs(i18n): Update translations () 2019-12-24 16:54:29 -05:00
Matan Kushner 3ddb7460a6
docs: Add a "Presets" page to the website () 2019-12-23 22:32:48 -05:00
Matan Kushner e53ced8221
docs: A few small improvements
- Correctly alphebetize modules
- Fix table formatting
- Add missing quotes around strings
2019-12-23 18:10:25 -05:00
Marco Ieni c4ed88952c docs(config): Disabled at the end of the options
In the `time` module, bring `disabled` option at the end of the table for coherence with all the other modules
2019-12-23 10:11:23 -05:00
Mike Sampson 256a2be949 feat: Implement AWS region aliases () 2019-12-20 12:30:47 -05:00
Luca Rinaldi 6a2b0a67b0 feat: cmd_duration module optionally reports milliseconds () 2019-12-19 17:38:06 -05:00
Mario Arias aab35674d2 feat: Adds build.gradle.kts detection to the Java module () 2019-12-19 10:17:50 -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
nesmyslny 40d4daba42 docs: Correct summary of `git_commit` module () 2019-12-16 10:45:48 -05:00
Matan Kushner 7c05412f46
docs(i18n): Update doc translations () 2019-12-14 18:46:45 -05:00
Thomas O'Donnell 780816926f docs: Correct a typo in the FAQs ()
Have fixed a minor typo in the FAQs to use the `--help` flag rather than
the `--version` flag.
2019-12-13 15:26:23 -05:00
Morten Scheel e38a257656 feat: add composer.json version to Package module () 2019-12-11 21:05:39 -05:00
BuggStream 93701b26b3 feat: Add support for the ion shell () 2019-12-11 15:31:30 -05:00
AppleTheGolden ea04f9bfc1 fix: Add php to the default prompt order () 2019-12-10 11:52:55 -05:00
Matan Kushner ffef8ff144
docs: Add playsinline to landing page video 2019-12-09 16:13:48 -05:00
AppleTheGolden 3c835ba34b fix: Truncate long paths in conda environment names ()
Environment names created via conda create -p [path] tend to be too long for comfort, so this truncates them.
2019-12-09 12:59:02 -05:00
Matan Kushner 60a1319524
docs: Reorder terraform option rows for consistency 2019-12-08 20:43:36 -05:00
wdullaer 44b37a7bac feat: Implement terraform module with workspace and version () 2019-12-08 20:42:51 -05:00
Matan Kushner 5a3c9a756d
docs: Add missing quotes in config docs 2019-12-06 18:41:28 -05:00
Matan Kushner 34edf12970
docs(i18n): Update translations () 2019-12-06 17:07:57 -05:00
Dan Wendorf dee25c7b35 feat: Add prefix config to directory module () 2019-12-06 14:19:11 -05:00
Matan Kushner 9f574eaabd
docs: Improve doc consistency 2019-12-06 12:00:23 -05:00
Qingping Hou c5a206e3cf feat: Add git_commit module () 2019-12-06 11:57:42 -05:00
Matan Kushner 5b440c0bb0
docs: Simplify installation process and docs () 2019-12-05 13:15:21 -05:00
Stephen Ball 46904e5045 feat: Add PHP version module () 2019-12-05 13:04:27 -05:00
Matan Kushner 7c031c1551
chore: Disable prettier for head values in vuepress config 2019-12-04 16:01:31 -05:00
Matan Kushner eff13fed01
chore: Use icon image for og:image tag 2019-12-04 15:59:12 -05:00
Matan Kushner 64820aa91b
chore: Update title OG tag for website 2019-12-04 15:52:06 -05:00
Matan Kushner 80deebb1bb
chore: Undo extended page titles 2019-12-04 15:51:05 -05:00
Matan Kushner f1593eb56b
chore: Update webpage titles 2019-12-04 15:50:20 -05:00
Matan Kushner 609ae4235a
chore: Update SEO meta tags with new copy 2019-12-04 15:48:46 -05:00
Matan Kushner 8364e90ac1
chore: Fix casing in website meta tag 2019-12-04 15:36:30 -05:00
Matan Kushner f09ba3b3de
chore: Update website meta tags for SEO 2019-12-04 15:32:54 -05:00
Luca Greco 337f213753 feat: Add the hg_branch module () 2019-12-02 17:37:18 -05:00
Matan Kushner 33df8ac063
docs: Fix typo in FAQ 2019-12-02 13:35:10 -05:00
Matan Kushner d1988fce8c
docs: Fix heading hierarchy in FAQ 2019-12-02 13:13:11 -05:00
Matan Kushner 48804c048d
docs: Add an FAQ page to website () 2019-12-01 18:47:19 -05:00
Matan Kushner 82cfb6bdb9
docs(i18n): New Crowdin translations () 2019-11-29 14:47:23 -05:00
Harrison 4ba1383373 docs: Update README to create ~/.config () 2019-11-28 14:11:58 -05:00
Jason Etcovitch 57f6ea4fc1 docs: Move styles to index () 2019-11-21 17:45:35 -05:00
Matias Kotlik 135dddbb4f feat: Add separator config to the memory module () 2019-11-13 10:57:46 +09:00
Matan Kushner a24a751a0d
docs: Add sitemap and robots.txt 2019-11-05 22:29:46 +09:00
Matan Kushner d30a2c2705
docs(i18n): Update documentation translations () 2019-11-02 20:12:46 +09:00
Thomas O'Donnell 42f6868e3f feat: Enable the python module in virtual envs ()
This will enable the python module when a virtual environment has been
activated, this is detected via the `VIRTUAL_ENV` env var.
2019-11-02 20:10:21 +09:00
Cédric Da Fonseca fa1267f12f feat: Add configuration to set how much AWS profile info is shown () 2019-11-02 20:08:54 +09:00
BSKY c58bbcd386 docs: Update installation instructions for fish-shell () 2019-10-29 12:48:45 +09:00
Zhenhui Xie fed1341e22 feat: Add an option to limit the duration of starship directory scanning () 2019-10-28 22:41:16 +09:00
Brian Low 2710d02709 feat: Show git_status counts ()
The git_status module can show the count of files next to their respective symbols.
2019-10-26 15:20:20 +09:00
Jürgen Gmach 59148ac4ad docs: Update required Rust version to v1.38 () 2019-10-26 12:20:18 +09:00
Matan Kushner 9f22bce944
docs: Update use_12hr config option name 2019-10-25 10:05:21 +09:00
Yoshi edf5176c37 docs: Fix `Memory Usage` option key () 2019-10-25 09:58:10 +09:00
Matan Kushner e34b3622f3
docs(i18n) Add links Traditional Chinese docs () 2019-10-22 00:10:47 +09:00
Matan Kushner bd79672f48
docs(i18n): Update Crowdin translations ()
- Finish translations for Traditional Chinese
2019-10-21 23:42:08 +09:00
Matias Kotlik 86bb923303 refactor: Refactor memory_usage module to use module config. ()
Also addresses a number of bugs:
- the percent sign not displaying correctly on some terminal emulators, including kitty
- changing the symbol in the configuration file didn't do anything
- swap being shown even if the system didn't have any
2019-10-21 00:26:04 +09:00
David Knaack 6ab70796db feat: Implement PowerShell support () 2019-10-16 00:10:16 +09:00
Matias Kotlik d2eef11148 refactor: Refactor git_branch module to use new module config () 2019-10-15 20:48:53 +09:00
Zhenhui Xie be2d5cf1cd refactor: Rewrite cmd_duration, directory and env_var module to use module config ()
This PR is a batched rewrite of the following modules:
- cmd_duration
- directory
- env_var
2019-10-15 20:34:48 +09:00
Zach Mertes 5303fd7684 feat: Add configuration for hostname truncation () 2019-10-15 01:22:25 +09:00
Thomas Lee b3275d8ddf feat: Show AWS region in `aws` module () 2019-10-15 00:05:03 +09:00
Thomas O'Donnell a18408e30c fix: Fix the spacing around the AWS default symbol ()
This updates the default AWS default symbol to include a space after the
symbol to make it a little bit more readable. Have also updated the
README to include the AWS module.
2019-10-14 22:56:16 +09:00
Matan Kushner cb4a92f441
docs(i18n): Update doc translations () 2019-10-11 17:31:19 +09:00
Zhenhui Xie 57b38f17bb refactor: Rewrite hostname, jobs and line_break module to use mo… () 2019-10-10 17:21:52 +09:00
Matan Kushner f51f3edf76
docs: Fix lingering merge conflict in config docs 2019-10-10 13:45:59 +09:00
Keith Wade 9d48706360 feat: Implement timezone offset config option for the time module ()
This allows users to configure the time module to display time with a timezone offset other than just their local timezone.
2019-10-10 13:42:57 +09:00
Maarten Mulders 8058b51273 feat: Show Java module when build.sbt is present ()
* feat: Show Java icon and info when build.sbt detected

* docs: Mention build.sbt detection
2019-10-07 19:18:01 +09:00
AppleTheGolden 7657af0680 feat: Add conda module () 2019-10-05 13:25:25 -05:00
Thomas Lee 27e8c8f3eb refactor: Rewrite `time` module to use module config ()
- Config option renamed: `12hr` → `use_12hr`
2019-10-06 00:07:00 +09:00
Thomas O'Donnell 5a8777ff45 fix: Disable Kubernetes module by default ()
Given the global nature of the Kubernetes module, the module has been disabled by default. The opportunity has also been taken to refactor the Kubernetes module to use the new config module.
2019-10-05 18:31:23 +09:00
Matan Kushner abcea4b3d9
docs(i18n): Update Crowdin translations () 2019-10-04 17:57:43 +09:00
Nick Young 6621e4c859 feat: Add dotnet module ()
Adds a .NET module, which preferentially parses local/git files to get
the .NET version.
2019-10-02 01:56:48 -05:00
Thomas O'Donnell 9fc5a43355 feat: Add Kubernetes Module ()
Adds a Kubernetes module, which works by parsing kubeconfig.
2019-10-01 13:58:24 -05:00
Matan Kushner b744d7afb2
docs: Reword command duration option 2019-10-01 00:01:45 +09:00
Matan Kushner 9e9eb6a8ef
fix: Disable memory_usage by default () 2019-09-30 16:04:49 +09:00
Tom Hotston 7588137b09 feat: Added ability for setting command duration prefix () 2019-09-30 14:26:32 +09:00
Andrew Houts 0eafb2bde7 feat: add memory usage module ()
Adds a module to display system memory and swap usage.
2019-09-29 00:55:48 -05:00
Matan Kushner 85956c7f94
docs(i18n): Finish translating documentation in Japanese ()
This last wave of translations has been completed on Crowdin.
2019-09-28 20:31:56 +09:00
Matan Kushner c49e54b16b
docs: Add extra newlines around custom containers 2019-09-28 20:20:18 +09:00
Matan Kushner b29891adf9
docs: Small fixes to the config docs 2019-09-28 01:17:53 +09:00
yuri d3fc66c0c5 feat: Add Environment Variable module () 2019-09-26 17:30:58 +09:00
Thomas O'Donnell b050c59708 feat: Add AWS module ()
Adds a module for displaying the current AWS profile based 
on the AWS_PROFILE envar.
2019-09-25 21:55:47 -05:00
Matan Kushner caaf3bc6a9
revert: Revert the command duration in ms feature () ()
Due to incompatibilities with the macOS date utility, we are
temporarily reverting this feature.

Refs: #c5e971a
2019-09-25 17:13:58 +09:00
Tom Hotston c5e971aef8 feat: Add ability for command duration in milliseconds () 2019-09-24 14:03:10 -05:00
Gimbar 702ad274cf feat: Add option to always show the username module () 2019-09-22 15:32:11 -05:00
谢祯晖 14fe246138 fix: Add display for unknown battery state () 2019-09-20 12:52:54 -04:00
Kevin Song c2875d99b6 feat: add support for logical paths in directory ()
Adds the ability for starship to display the logical path instead of the physical path.
2019-09-20 12:28:09 -04:00
Kuba Clark 71f03ec3e9 feat: Add Java Module ()
Implements a Java module which shows basic Java information when inside a Java project.
2019-09-19 18:02:53 -05:00
Iván 74e6170f9f ​docs: Fix typo (confguring ➜ configuring) () 2019-09-17 12:41:35 -04:00
Shu Kutsuzawa f794574be8 docs(i18n): Translate to Japanese ()
Signed-off-by: cappyzawa <cappyzawa@yahoo.ne.jp>
Co-authored-by: Kutsuzawa Ryo <kutsuzawa2851@gmail.com>
2019-09-16 12:19:47 -04:00
Kutsuzawa Ryo 7a98ec1d8e feat: Add configuration for the `git_status` prefix and suffix () 2019-09-15 16:44:53 -04:00
Nikodem Rabuliński 8014e9276e docs: Fix default order in docs () 2019-09-15 14:57:30 -04:00
Shu Kutsuzawa af6ba3e502 docs(i18n): Translate to Japanese () 2019-09-15 14:55:02 -04:00
Thomas O'Donnell 653def05f0 Enable the python module for tox files ()
Enable the python module if the current directory contains a `tox.ini`
file.
2019-09-15 12:21:40 -04:00
Shu Kutsuzawa 19bb2a4a0a docs(i18n): Translate advanced config to Japanese () 2019-09-15 10:39:26 -04:00
Matan Kushner 8f03c14582
docs: Reword the default prompt_order docs 2019-09-13 10:24:07 -04:00
Shu Kutsuzawa 8a0aa3907c docs(i18n): Fixed translation docs(battery, git_branch, git_stat… () 2019-09-13 10:10:55 -04:00
Shu Kutsuzawa d5f9775660 docs(i18n): Fixed translation docs () 2019-09-12 22:29:42 -04:00
Shu Kutsuzawa cd218a137a docs(i18n): Translated to Japanese ()
Signed-off-by: heyrict <xiezh0831@yahoo.co.jp>
2019-09-12 21:38:58 -04:00
Shu Kutsuzawa 0e52b504ea docs(i18n): Translated to Japanese ()
Signed-off-by: Kutsuzawa Ryo <kutsuzawa2851@gmail.com>
2019-09-12 21:31:42 -04:00
Rob Warner 373493be85 feat: Add support for italic styles () () 2019-09-12 16:10:42 -05:00
Shu Kutsuzawa 482f005d58 docs(i18n): Localize the configuration documentation in Japanese () 2019-09-12 15:41:23 -04:00
谢祯晖 a6c64e8457 feat: Implement threshold based styling for battery module () 2019-09-12 14:06:59 -04:00
Matan Kushner dc419e8e8a
docs(i18n): Localize the landing page in Japanese ()
Co-Authored-By: Yuji Ueki <unhappychoice@gmail.com>
Co-Authored-By: Shu Kutsuzawa <cappyzawa@yahoo.ne.jp>
Co-Authored-By: heyrict <xiezh0831@yahoo.co.jp>
2019-09-11 11:57:24 -04:00
John Letey f9a4514045 feat: Implement the prompt module for time ()
Add a module which displays the current time in a format requested by
the user. Disabled by default.
2019-09-10 12:54:40 -05:00
Weihang Lo 59d066c01f docs: reorder misplaced Ruby option example () 2019-09-08 09:57:52 -05:00
Kevin Song 9721666d33
feat: Add the ability to configure per-module color styles ()
Add parsing logic, config support, docs, and integration with other modules 
for custom styling of each module.
2019-09-07 19:33:06 -05:00
Nick Young eb724279da feat: Adds Git State module for showing "REBASING 2/3", etc. ()
- Adds the git_state module.
- Adds git_state to the default prompt order
- Updates the documentation to describe the git_state module
2019-09-05 12:45:04 -04:00
Neil Kistner 1c66869117 feat: Add config for ahead/behind count of tracked branch ()
Add a configuration option (show_sync_count) to the git_status module that will show/hide the counts ahead/behind of the tracked branch. Currently have this default to false, and would opt-in to show this information.
2019-09-05 00:09:51 -04:00