summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-02-04build(deps): bump quick-xml from 0.20.0 to 0.21.0dependabot-preview[bot]
Bumps [quick-xml](https://github.com/tafia/quick-xml) from 0.20.0 to 0.21.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.20.0...v0.21.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-03docs(status): Remove status_ prefix from status module variables (#2260)Dan Tsekhanskiy
* Remove status_ prefix from status module variables * Revert "Remove status_ prefix from status module variables" This reverts commit f4c6e9ced3040ef2939189afe7ff8bd08d6fae78. * docs: Remove status_ prefix from status module variables
2021-02-02chore(release): v0.50.0v0.50.0Matan Kushner
2021-02-02fix(windows): fix windows terminal ANSI escape sequences (#2258)KOVACS Krisztian
* fix(windows): don't inherit stdin when executing commands On Windows, inheriting stdin from starship might lead to leaking the console reference to the command we're executing. `id.exe` supplied with Git has been observed to disable the ENABLE_VIRTUAL_TERMINAL_PROCESSING console flag if it inherits stdin -- leading to Windows Terminal not processing ANSI escape sequences. This change fixes #2254 by explicitly disabling stdin inheritance. The fix was suggested by David Knaack. * fix(username): don't call `id -u` on Windows This was done to check if user is root by comparing the UID to 0. Windows does not have a concept of UID 0 anyway, so it's pointless to call `id.exe` (which is installed with MSYS2 or Git, for example).
2021-02-02feat: add support for elvish shell (#1725)David Knaack
* feat: add support for elvish shell * improve doc * elvish 0.15 is out * fix example init * update systax for 0.15 stable * udpate second init example too * remove warning from swift module * add warning to status module docs * prefix elvish version with v
2021-02-01build(deps): bump shadow-rs from 0.5.23 to 0.5.24dependabot-preview[bot]
Bumps [shadow-rs](https://github.com/baoyachi/shadow-rs) from 0.5.23 to 0.5.24. - [Release notes](https://github.com/baoyachi/shadow-rs/releases) - [Commits](https://github.com/baoyachi/shadow-rs/compare/0.5.23...0.5.24) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-31fix(bash): Count jobs with for loop to fix MacOS count issue (#2250)Rich Lafferty
In #1897 we replaced a 'wc -l' with a bash-native job counter, but subsequently discovered that bash on MacOS folds '<<<' output into a single line, preventing line counting. A for loop works around that problem, is still bash-native, and works on Linux as well. While we're at it, also removed the need for command substitution and an echo by doing the work directly on NUM_JOBS. Fixes #2241.
2021-01-30build: add x86_64 freebsd build (#2233)David Knaack
2021-01-30feat(vagrant): Add support for Vagrant (#1812)Furkan Türkal
Signed-off-by: Dentrax <furkan.turkal@hotmail.com> Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com> Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
2021-01-29chore: update issue template config to correctly use "Q&A" categoryMatan Kushner
2021-01-29fix(install): use correct arch name in 32-bit test (#2234)David Knaack
2021-01-29chore: update Crowdin PR titleMatan Kushner
2021-01-29ci: continue release on error (#2237)Matan Kushner
2021-01-29chore(release): v0.49.0v0.49.0Matan Kushner
2021-01-27build(deps): bump log from 0.4.13 to 0.4.14dependabot-preview[bot]
Bumps [log](https://github.com/rust-lang/log) from 0.4.13 to 0.4.14. - [Release notes](https://github.com/rust-lang/log/releases) - [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/log/compare/0.4.13...0.4.14) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-27build(deps): bump rand from 0.8.2 to 0.8.3dependabot-preview[bot]
Bumps [rand](https://github.com/rust-random/rand) from 0.8.2 to 0.8.3. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-random/rand/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26docs(i18n): add Vietnamese doc translationsMatan Kushner
2021-01-26docs(i18n): New Crowdin updates (#2108)Matan Kushner
2021-01-26test(docker_context): Add basic tests to module (#2205)Thomas O'Donnell
* test(docker_context): Add basic tests to module This adds some basic tests to the docker_context module. * PR suggestion
2021-01-26docs: update license to include 2021 (#2207)Aki
2021-01-26docs(status): fix the format string to match the default (#2211)matoruru
2021-01-26build: add aarch64 windows build (#2213)David Knaack
2021-01-26build(deps): bump serde from 1.0.122 to 1.0.123dependabot-preview[bot]
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.122 to 1.0.123. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.122...v1.0.123) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26build(deps): bump sys-info from 0.7.0 to 0.8.0dependabot-preview[bot]
Bumps [sys-info](https://github.com/FillZpp/sys-info-rs) from 0.7.0 to 0.8.0. - [Release notes](https://github.com/FillZpp/sys-info-rs/releases) - [Changelog](https://github.com/FillZpp/sys-info-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/FillZpp/sys-info-rs/commits) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25build(deps): bump serde from 1.0.120 to 1.0.122dependabot-preview[bot]
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.120 to 1.0.122. - [Release notes](https://github.com/serde-rs/serde/releases) - [Commits](https://github.com/serde-rs/serde/compare/v1.0.120...v1.0.122) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25build(deps): bump process_control from 3.0.0 to 3.0.1dependabot-preview[bot]
Bumps [process_control](https://github.com/dylni/process_control) from 3.0.0 to 3.0.1. - [Release notes](https://github.com/dylni/process_control/releases) - [Commits](https://github.com/dylni/process_control/compare/3.0.0...3.0.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-25build(deps): bump git2 from 0.13.16 to 0.13.17dependabot-preview[bot]
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.16 to 0.13.17. - [Release notes](https://github.com/rust-lang/git2-rs/releases) - [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.16...0.13.17) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-24feat(directory): Add home directory symbol (#2198)Rodrigo Suárez
* feat(directory): Add home directory symbol * Replace HOME_SYMBOL constant as a config variable
2021-01-24refactor(git_status): simplify git status with once-cell (#2150)David Knaack
I simplified the code in the git status module by moving everything from RwLock<_> to OnceCell<_>. I think this should also get rid of any remaining race conditions that remained after #1777.
2021-01-23docs(terraform): Make version perf issue obvious (#2107)Thomas O'Donnell
This intends to make the performance issue with the terraform version more obvious.
2021-01-23perf: use built-in EPOCHREALTIME env-var to compute cmd_duration for ZSH5+ ↵Gautham Warrier
(#1751) We currently invoke `starship time` in a sub-shell to compute time, which is non-performant. By using $EPOCHREALTIME, which is an inbuilt env-var in ZSH5, we can get better performance. This commit only targets ZSH5+ and maintains the old behaviour.
2021-01-22build: Add additional build information to version and bug report (#2124)Rust大闸蟹
* fix https://github.com/starship/starship/issues * cargo fmt * upgrade shadow-rs 0.5.6 * upgrade shadow-rs * update * complet bug_report infomation * cargo fmt * upgrade shadow-rs 0.5.11 * upgrade shadow-rs 0.5.14 * fixed:https://github.com/starship/starship/pull/2124#discussion_r559076634 fixed:https://github.com/starship/starship/pull/2124#discussion_r559076918 * add long_version * upgrade shadow-rs 0.5.19; adaptate clap version() use by shadow-rs clap_version() * fix unit test error * fix test error * upgrade shadow-rs 0.5.22 * upgrade shadow-rs 0.5.23
2021-01-22build(deps): bump rust-ini from 0.16.0 to 0.16.1dependabot-preview[bot]
Bumps [rust-ini](https://github.com/zonyitoo/rust-ini) from 0.16.0 to 0.16.1. - [Release notes](https://github.com/zonyitoo/rust-ini/releases) - [Commits](https://github.com/zonyitoo/rust-ini/compare/v0.16.0...v0.16.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-22perf(zig): Lazy eval zig (#2187)Moritz Vetter
* perf(zig): evaluate version lazily * fix(zig): update format string; update tests * refact(zig): remove redundant clone and put everything to do with version eval into match statement * tiny optimization Co-authored-by: David Knaack <davidkna@users.noreply.github.com> Co-authored-by: Moritz Vetter <mv@3yourmind.com> Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
2021-01-22perf(ocaml): evaluate version lazily; adjust format string; update test (#2188)Moritz Vetter
Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22perf(perl): Lazy eval perl (#2189)Moritz Vetter
* perf(perl): evaluate version lazily * fix(perl): update format string; update tests * refact(perl): run rustfmt Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22perf(php): Lazy eval php (#2190)Moritz Vetter
* perf(php): evaluate version lazily * fix(php): update format string; update tests Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22Perf(purescript): Lazy eval purescript (#2191)Moritz Vetter
* perf(purescript): evaluate version lazily * fix(purescript): update format string; update tests Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-22refactor: apply more clippy lintsAlexandru Macovei
2021-01-22refactor: simplify print::handle_moduleAlexandru Macovei
2021-01-22refactor: simplify StringFormatter::newAlexandru Macovei
2021-01-22build(deps): bump git2 from 0.13.15 to 0.13.16dependabot-preview[bot]
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.15 to 0.13.16. - [Release notes](https://github.com/rust-lang/git2-rs/releases) - [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.15...0.13.16) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-21build: add builds for various targets (#2137)David Knaack
* build: add builds for various targets * fix typo Co-authored-by: Matan Kushner <hello@matchai.me> Co-authored-by: Matan Kushner <hello@matchai.me>
2021-01-21perf(kotlin): Lazy eval kotlin (#2186)Moritz Vetter
* perf(kotlin): evaluate version lazily * fix(kotlin): update format string; update tests Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-21perf(lua): Lazy eval lua (#2185)Moritz Vetter
* perf(lua): evaluate version lazily * fix(lua): update format string * test(lua): update tests Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-21perf(utils): Add timeout to `utils::exec_cmd` (#2171)Thomas O'Donnell
* perf(utils): Add timeout to `utils::exec_cmd` This adds a timeout to any command executed using the `utils::exec_cmd`. The initial time limit is hard coded to 500ms but if required we can make this configurable. Have also switched the tests to be a bit more granular on which systems they are ignored. * Terminate the processes if they timeout
2021-01-20perf(nodejs): evaluate nodejs format string lazily (#2160)Moritz Vetter
* fix(nodejs): update format string * test(nodejs): adjust tests to new format strings * fix(nodejs): use once_cell's Lazy to implement hassleless lazy execution * chore(nodejs): run rustfmt Co-authored-by: Moritz Vetter <mv@3yourmind.com>
2021-01-20perf(custom): evaluate command lazily (#2173)David Knaack
2021-01-20perf(elixir): evaluate version lazily (#2172)David Knaack
2021-01-20perf(dart): Lazy eval dart (#2166)Moritz Vetter
* perf(dart): evaluate version lazily * fix(dart): update format string * fix: use suggested format string Co-authored-by: Moritz Vetter <mv@3yourmind.com>