1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-09-19 17:39:02 +00:00
Commit Graph

249 Commits

Author SHA1 Message Date
Shu Kutsuzawa
2f449af680
Fix julia icon based on https://julialang.org/community/standards/ (#1055)
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 (#1047) 2020-04-06 14:48:26 -04:00
Kevin Pullin
9924af55db
feat(aws): Use AWS_VAULT as the profile if set (#984)
* 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 (#996)
* 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. (#1028)
* 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 (#1015)
* 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 (#1030)
* 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 (#1036)
* 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 (#919) 2020-04-03 12:35:39 -04:00
oliver
4e0382d6bb
docs(memory_usage): Update example to have disabled = false (#1027) 2020-03-23 12:53:04 -04:00
Mick Hohmann
be72797fd2
docs: alphabetize modules in config docs (#981) 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 (#1008)
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 (#971) 2020-03-02 19:06:38 -05:00
KokaKiwi
243e97cfe6
feat: add Elixir module (#437) 2020-03-01 22:29:27 -05:00
Christopher Goh
1eabd52725
docs(time): add missing quotations in options and examples (#967) 2020-02-28 13:01:47 -05:00
Tadej Novak
7e66791cb2
feat: add singularity module (#932) 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 (#662)
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 (#948) 2020-02-20 18:08:20 -06:00
Heechul Ryu
b529dcf9a0
docs: Fix kubernetes style doc `dimmed' (#944)
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 (#738) 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 (#908) 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 (#879)
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 (#906) 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 (#170) 2020-02-04 18:27:06 -05:00
Matan Kushner
d4d4a01850
docs(i18n): Fix links in Japanese docs (#905) 2020-02-04 14:31:52 -05:00
Matan Kushner
8e9d9409cf
docs(i18n): Update translations (#875) 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 (#893) 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 (#819) 2020-01-28 13:56:53 -05:00
Andrew Prokhorenkov
6f2c9fb397 feat: add Haskell Stack support (#546)
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 (#871)
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 (#863) 2020-01-23 11:27:26 -05:00
Matan Kushner
88b9b0ffe2
docs(i18n): Add German docs to the website and README.md (#864) 2020-01-21 15:49:49 -05:00
Matan Kushner
062dacb2e5
docs(i18n): Update translations (#857) 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 (#848)
- 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 (#856) 2020-01-20 12:46:54 -05:00
Matan Kushner
ddfcee3809
docs(i18n): Update translated docs (#792) 2020-01-15 12:23:25 -05:00
Justas Kazakauskas
45e6b3e052 docs: Document the STARSHIP_CONFIG env variable (#807) 2020-01-04 14:20:07 -05:00
marblenix
b82ff321fa feat(git_status): Add a stash count segment (#598) 2019-12-28 22:20:36 -05:00
Matan Kushner
75b103a44a
docs(i18n): Update translations (#735) 2019-12-24 16:54:29 -05:00
Matan Kushner
3ddb7460a6
docs: Add a "Presets" page to the website (#783) 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 (#646) 2019-12-20 12:30:47 -05:00
Luca Rinaldi
6a2b0a67b0 feat: cmd_duration module optionally reports milliseconds (#696) 2019-12-19 17:38:06 -05:00
Mario Arias
aab35674d2 feat: Adds build.gradle.kts detection to the Java module (#731) 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 (#737) 2019-12-16 10:45:48 -05:00
Matan Kushner
7c05412f46
docs(i18n): Update doc translations (#697) 2019-12-14 18:46:45 -05:00
Thomas O'Donnell
780816926f docs: Correct a typo in the FAQs (#732)
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 (#716) 2019-12-11 21:05:39 -05:00
BuggStream
93701b26b3 feat: Add support for the ion shell (#704) 2019-12-11 15:31:30 -05:00
AppleTheGolden
ea04f9bfc1 fix: Add php to the default prompt order (#708) 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 (#694)
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 (#644) 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 (#683) 2019-12-06 17:07:57 -05:00
Dan Wendorf
dee25c7b35 feat: Add prefix config to directory module (#642) 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 (#673) 2019-12-06 11:57:42 -05:00
Matan Kushner
5b440c0bb0
docs: Simplify installation process and docs (#643) 2019-12-05 13:15:21 -05:00
Stephen Ball
46904e5045 feat: Add PHP version module (#244) 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 (#569) 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 (#583) 2019-12-01 18:47:19 -05:00
Matan Kushner
82cfb6bdb9
docs(i18n): New Crowdin translations (#619) 2019-11-29 14:47:23 -05:00
Harrison
4ba1383373 docs: Update README to create ~/.config (#663) 2019-11-28 14:11:58 -05:00
Jason Etcovitch
57f6ea4fc1 docs: Move styles to index (#657) 2019-11-21 17:45:35 -05:00
Matias Kotlik
135dddbb4f feat: Add separator config to the memory module (#603) 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 (#575) 2019-11-02 20:12:46 +09:00
Thomas O'Donnell
42f6868e3f feat: Enable the python module in virtual envs (#584)
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 (#556) 2019-11-02 20:08:54 +09:00
BSKY
c58bbcd386 docs: Update installation instructions for fish-shell (#599) 2019-10-29 12:48:45 +09:00
Zhenhui Xie
fed1341e22 feat: Add an option to limit the duration of starship directory scanning (#589) 2019-10-28 22:41:16 +09:00
Brian Low
2710d02709 feat: Show git_status counts (#434)
The git_status module can show the count of files next to their respective symbols.
2019-10-26 15:20:20 +09:00