dependabot-preview[bot]
919d367dd4
build(deps): bump os_info from 3.0.0 to 3.0.1
...
Bumps [os_info](https://github.com/stanislav-tkach/os_info ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/stanislav-tkach/os_info/releases )
- [Changelog](https://github.com/stanislav-tkach/os_info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/stanislav-tkach/os_info/compare/v3.0...v3.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-26 07:00:14 +00:00
Christoph Schlosser
89fc93d1f9
feat(cmake): Add CMakeCache.txt detection to CMake module ( #1795 )
...
* 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
Thomas O'Donnell
9d5770544e
fix(install): Better platform detection ( #1827 )
...
Have refactored the platform detection in the install script to try to
better detect Windows when running the Windows install script.
2020-10-25 10:16:47 +01:00
Mauricio Teixeira
eec961caaf
feat(openstack): Add module for OpenStack ( #1664 )
...
* 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
marcos-quezada
745a554fdc
fix(pwsh): Switched pwsh profile to use dollar hook for a more accurate success/failure handling ( #1745 )
...
* [f]Use_global_dollar_hook_for_lastExitCodeForPrompt Switched to use the dollar hook, as source of truth for exit code of las command, included comments to clarify.
* fix: Adjusted accordingly to comments on PR.
* fix: Moved last exit code handling inside if to reuse that variable.
Co-authored-by: Marcos Quezada Perez <marcos.quezadaperez@peakwork.com>
2020-10-24 11:18:58 +02:00
Miguel Ángel Melón Pérez
ea9f803018
feat(git_commit): add git tag to module ( #950 )
2020-10-23 11:49:19 -04:00
Thomas O'Donnell
c938eac1d6
fix(kubernetes): Parse stacked kubeconfigs ( #1678 )
...
Have refactored the kubernetes module to better support stacked
kubeconfigs. Rather than trying to grab both the current-context and
namespace on a single pass we now do two passes. These changes should
fix the problems where the current-context is defined in one file but
the context and the namespace are defined in a different file.
2020-10-23 13:39:50 +02:00
dependabot-preview[bot]
975d3232c8
build(deps): bump dirs-next from 1.0.2 to 2.0.0
...
Bumps [dirs-next](https://github.com/xdg-rs/dirs ) from 1.0.2 to 2.0.0.
- [Release notes](https://github.com/xdg-rs/dirs/releases )
- [Changelog](https://github.com/xdg-rs/dirs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xdg-rs/dirs/compare/dirs-v1.0.2...dirs-v2.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-22 05:55:19 +00:00
dependabot-preview[bot]
4ed5eb029a
build(deps): bump rayon from 1.4.1 to 1.5.0
...
Bumps [rayon](https://github.com/rayon-rs/rayon ) from 1.4.1 to 1.5.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases )
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md )
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.4.1...rayon-core-v1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-22 05:52:26 +00:00
Thomas O'Donnell
6717d40b95
ci: Run against nightly version of rust ( #1814 )
...
Now that the uom dependency has been updated and compiles on the nightly
version of rust we can enable the builds again in the build matrix.
2020-10-21 09:17:54 +02:00
dependabot-preview[bot]
e59cefd2b4
build(deps): bump battery from 0.7.6 to 0.7.7
...
Bumps [battery](https://github.com/svartalf/rust-battery ) from 0.7.6 to 0.7.7.
- [Release notes](https://github.com/svartalf/rust-battery/releases )
- [Changelog](https://github.com/svartalf/rust-battery/blob/master/CHANGELOG.md )
- [Commits](https://github.com/svartalf/rust-battery/compare/0.7.6...0.7.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-20 06:29:40 +00:00
David Knaack
daf7976f9d
fix(pwsh): preserve original console encondings ( #1810 )
2020-10-19 13:52:15 -04:00
dependabot-preview[bot]
f9bed976c1
build(deps-dev): bump @vuepress/plugin-google-analytics in /docs ( #1808 )
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 ( #1809 )
...
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 ( #1807 )
...
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
dependabot-preview[bot]
7b7cef2103
build(deps): bump quick-xml from 0.19.0 to 0.20.0
...
Bumps [quick-xml](https://github.com/tafia/quick-xml ) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/tafia/quick-xml/releases )
- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md )
- [Commits](https://github.com/tafia/quick-xml/compare/v0.19.0...v0.20.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 07:25:54 +00:00
Thomas O'Donnell
035e80bbd3
chore(context): Use monotonic clock for timeout ( #1802 )
...
Have switched to use a monotonic clock for calculating the timeout when
indexing the current directory for the context to avoid any issues with
calculating the timeout when the systems clock might change.
2020-10-17 15:36:21 -04:00
jRimbault
95bb901b8a
chore: fix the double compiling of lib and bin ( #1616 )
...
* fix: rust modules are compiled twice
The modules being declared both in the _library_ crate and the _binary_
crate made cargo compile everything twice:
1. for the library
2. for the binary
What happened was:
1. The library "starship" was compiled.
2. The binary "starship" (and all its modules) were compiled.
* fix: stop compiling every rust module twice
restrict visibility
* Run cargo fmt
* Add bug_report module
Co-authored-by: Matan Kushner <hello@matchai.dev>
Co-authored-by: Kevin Song <chips@ksong.dev>
2020-10-17 11:09:27 +02:00
Jeremy Hilliker
3287e48b65
docs(memory): Remove removed options from Memory example ( #1800 )
...
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
Matan Kushner
7c6d0a57b3
chore(release): v0.46.2
2020-10-14 15:29:16 -04:00
Matan Kushner
c65ab100f0
chore(release): v0.46.1
2020-10-14 15:23:24 -04:00
Yudai Hayashi
5740b7d18a
docs: Update document for installing on windows ( #1760 )
...
* Update document for installing on windows
* Revert "Update document for installing on windows"
This reverts commit 5dc8db05c4db4ff1a22852b32ba3d796e4c578c1.
* Update document (English version only) for installing on windows
* Change the expression
* Fixed the grammer misstake
2020-10-14 12:22:02 -04:00
Thomas O'Donnell
c3cc6b174f
test(aws): Ignore tests that check .aws files ( #1775 )
...
When running the AWS module it will parse the AWS config found in
`~/.aws/config` to get the region. This means that tests that expect no
region to be set will fail if there exists a default profile with a
region set, which is probably true for most AWS users. To avoid this
have set the AWS tests that depend on the non-existance of a
`.aws/config` to be ignored.
2020-10-14 12:21:35 -04:00
Thomas O'Donnell
b2a5c4a3e4
chore(log): Add context to logger failure messages ( #1764 )
...
Have added a little bit more context to the error messages that occur
when if starship is unable to setup the logger. This should hopefully
make it a bit easier to work out why starship can't setup the logger.
2020-10-14 12:13:44 -04:00
David Knaack
205fd1abdd
fix(git_state): remove unwrap in describe_rebase
( #1761 )
2020-10-14 12:13:08 -04:00
SarthakSingh31
a73d7140eb
perf(git_status): Improved git_status module performance ( #1777 )
2020-10-14 12:12:41 -04:00
dependabot-preview[bot]
2582b7e6c2
build(deps): bump sysinfo from 0.15.2 to 0.15.3
...
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo ) from 0.15.2 to 0.15.3.
- [Release notes](https://github.com/GuillaumeGomez/sysinfo/releases )
- [Commits](https://github.com/GuillaumeGomez/sysinfo/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-14 05:54:03 +00:00
dependabot-preview[bot]
b10d2ecb1c
build(deps): bump dirs-next from 1.0.1 to 1.0.2
...
Bumps [dirs-next](https://github.com/xdg-rs/dirs ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/xdg-rs/dirs/releases )
- [Changelog](https://github.com/xdg-rs/dirs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/xdg-rs/dirs/compare/dirs-v1.0.1...dirs-v1.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-14 05:42:40 +00:00
dependabot-preview[bot]
58c3bfaab7
build(deps): bump git2 from 0.13.11 to 0.13.12
...
Bumps [git2](https://github.com/rust-lang/git2-rs ) from 0.13.11 to 0.13.12.
- [Release notes](https://github.com/rust-lang/git2-rs/releases )
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.11...0.13.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-14 05:30:18 +00:00
Matan Kushner
783eb3373d
fix: replace emoji for cmake and erlang ( #1787 )
2020-10-13 18:01:35 -04:00
Matan Kushner
2f106a3d37
ci: temporarily disable GH Actions cache
2020-10-13 15:58:36 -04:00
Matan Kushner
02f7418820
docs(i18n): new Crowdin updates ( #1719 )
2020-10-13 15:09:01 -04:00
David Knaack
4de9e43cff
fix(directory): preserve substitution order ( #1782 )
2020-10-13 15:06:41 -04:00
dependabot-preview[bot]
dc8e769bdb
build(deps): bump nix from 0.18.0 to 0.19.0
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.18.0...v0.19.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 17:14:46 +00:00
dependabot-preview[bot]
5ba1952d3c
build(deps): bump serde_json from 1.0.58 to 1.0.59
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.58...v1.0.59 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 17:09:17 +00:00
dependabot-preview[bot]
906b0c486a
build(deps): bump toml from 0.5.6 to 0.5.7
...
Bumps [toml](https://github.com/alexcrichton/toml-rs ) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/alexcrichton/toml-rs/releases )
- [Commits](https://github.com/alexcrichton/toml-rs/compare/0.5.6...0.5.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 16:53:42 +00:00
dependabot-preview[bot]
28c83763d7
build(deps): bump regex from 1.3.9 to 1.4.1
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.3.9 to 1.4.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.3.9...1.4.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 16:51:17 +00:00
dependabot-preview[bot]
f7a4c43656
build(deps): bump attohttpc from 0.15.0 to 0.16.0
...
Bumps [attohttpc](https://github.com/sbstp/attohttpc ) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/sbstp/attohttpc/releases )
- [Commits](https://github.com/sbstp/attohttpc/compare/v0.15.0...v0.16.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 16:21:44 +00:00
Adrian Duong
875ed1ed12
docs: fix typo in CONTRIBUTING.md ( #1772 )
...
consistend -> consistent
2020-10-13 12:08:32 -04:00
Matan Kushner
a8264cdab9
ci: temporarily disable nightly tests
...
Disabled until the following issue is fixed:
https://github.com/iliekturtles/uom/issues/210
2020-10-13 12:05:55 -04:00
Tilmann Meyer
d1e2c13a7c
fix: apply clippy suggestions ( #1756 )
2020-10-13 12:03:33 -04:00
David Knaack
967ae28f61
fix(build): add serde_derive to dependency list ( #1762 )
2020-10-13 11:38:36 -04:00
Thomas O'Donnell
9044f9e14c
docs: Update defaults in config docs ( #1759 )
...
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 ( #1758 )
2020-10-08 16:54:59 -04:00
Matan Kushner
a46bbf1f55
chore(release): v0.46.0
2020-10-08 12:52:55 -04:00
Tomer
a9f6d0f81e
fix(python): Read venv prompt from pyvenv.cfg ( #1747 )
...
* ✨ Add --prompt rendering to python virtualenv
* Use pyvenv.cfg to find prompt
* Remove usage of VIRTUAL_ENV_PROMPT variable
Seeing how both venv and virtualenv set a pyvenv.cfg, this isn't needed.
Additionally pyvenv.cfg is set in earlier versions than VIRTUAL_ENV_PROMPT,
which at this moment is in the unrelased python 3.10
* Smarter result unwrapping thanks to clippy
2020-10-08 09:58:00 +02:00
David Knaack
7c941af11a
feat(directory): strip Microsoft.PowerShell.Core\FileSystem:: prefix on windows ( #1732 )
2020-10-06 09:44:27 +02:00
Thomas O'Donnell
140009994d
docs(python): Update the python_binary option ( #1731 )
...
* 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 ( #1563 )
...
Adds ellipsis in front of truncated paths: …/
Configurable through new config option: directory.truncation_symbol
Fixes #1162 , #1626
2020-10-03 11:25:21 -05:00