Commit Graph

197 Commits

Author SHA1 Message Date
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