Commit Graph

292 Commits

Author SHA1 Message Date
Tilmann Meyer 2233683410
feat: add error messaging (#1576)
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
dependabot-preview[bot] e5bf405a73 build(deps): bump chrono from 0.4.15 to 0.4.18
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.15 to 0.4.18.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.15...v0.4.18)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 06:54:53 +00:00
dependabot-preview[bot] b6b05ed05f build(deps): bump quick-xml from 0.18.1 to 0.19.0
Bumps [quick-xml](https://github.com/tafia/quick-xml) from 0.18.1 to 0.19.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.18.1...v0.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-28 05:39:52 +00:00
dependabot-preview[bot] 26e4de710e build(deps): bump sysinfo from 0.15.1 to 0.15.2
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.15.1 to 0.15.2.
- [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-09-17 06:24:06 +00:00
dependabot-preview[bot] 4fc0de4201 build(deps): bump git2 from 0.13.10 to 0.13.11
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.10 to 0.13.11.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/commits/0.13.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 06:54:44 +00:00
dependabot-preview[bot] 567ea8d2be build(deps): bump battery from 0.7.5 to 0.7.6
Bumps [battery](https://github.com/svartalf/rust-battery) from 0.7.5 to 0.7.6.
- [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/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 05:41:46 +00:00
dependabot-preview[bot] 7ff9dd3d84 build(deps): bump rayon from 1.3.1 to 1.4.0
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.3.1 to 1.4.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/v1.3.1...rayon-core-v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-25 05:32:58 +00:00
dependabot-preview[bot] 2f5d795546
build(deps): bump git2 from 0.13.8 to 0.13.10 (#1606)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.8 to 0.13.10.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/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-08-21 21:02:19 -04:00
jRimbault 12c7877932
fix: $EDITOR argument parsing (#1595)
Fixed editor argument parsing by properly splitting
whitespace with the same procedure used by shell.
2020-08-21 11:41:36 -05:00
dependabot-preview[bot] 8c48e0f707 build(deps): bump once_cell from 1.4.0 to 1.4.1
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-18 06:35:00 +00:00
dependabot-preview[bot] 73e6c69637 build(deps): bump chrono from 0.4.13 to 0.4.15
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.13 to 0.4.15.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.13...v0.4.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-17 10:20:18 +00:00
dependabot-preview[bot] f219d310cf build(deps): bump sysinfo from 0.15.0 to 0.15.1
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.15.0 to 0.15.1.
- [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-08-16 10:12:26 +00:00
dependabot-preview[bot] a50ef1d273 build(deps): bump clap from 2.33.2 to 2.33.3
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.2 to 2.33.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-15 09:40:56 +00:00
Marc Schreiber 8c71eb5307
feat: Add Undistract Me Feature (#1019)
Often it is handy to get notified when the execution of a command finished.
This commit includes notify-rust in order to generate a desktop notification
when a command execution finished.
2020-08-11 18:44:25 +02:00
dependabot-preview[bot] b79830e97b build(deps): bump os_info from 2.0.7 to 2.0.8
Bumps [os_info](https://github.com/darkeld3r/os_info) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/darkeld3r/os_info/releases)
- [Changelog](https://github.com/DarkEld3r/os_info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/darkeld3r/os_info/compare/v2.0.7...v2.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-10 06:40:28 +00:00
Tilmann Meyer 88b603be38
test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
David Knaack 8b0f589486
fix(explain): align table correctly (#1482)
* fix(explain): align table correctly

* iterate over lines directly

* calculate desc_width with the actual space available

* custom unicode-aware textwrapping

* fix clippy error

* better width estimination

* explain +6

* move padding width into a constant
2020-08-05 19:16:59 +02:00
Dario Vladović 997387ee50
refactor(java): parse version using regex (#1496)
* refactor(java): parse version using regex

Mock java version retrieval & extend java module test suite with
rendering tests.

* chore: remove nom crate

* fix(java): support parsing version from both stdout & stderr

* fix(java): fix java command mock

* refactor(java): simplify version regex
2020-07-29 18:26:46 +02:00
Thomas O'Donnell dfe331bf4e
ci: Fix failing CI builds (#1532)
We have been having some CI builds fail because they can't find some
dependencies on the OSX. I'm not sure if this is something wrong with
the CI setup, something bad in the cache or something wrong with the
Cargo.lock file. To try to narrow down the possible issues I've manually
updated the Cargo.lock file by running `cargo update`. This should
ensure that the the lock file is in a good state and also force a cache
refresh in the CI.
2020-07-29 10:11:30 +02:00
dependabot-preview[bot] 9507055849 build(deps): bump byte-unit from 4.0.8 to 4.0.9
Bumps [byte-unit](https://github.com/magiclen/byte-unit) from 4.0.8 to 4.0.9.
- [Release notes](https://github.com/magiclen/byte-unit/releases)
- [Commits](https://github.com/magiclen/byte-unit/compare/v4.0.8...v4.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-29 06:08:36 +00:00
dependabot-preview[bot] b8359a860a build(deps): bump os_info from 2.0.6 to 2.0.7
Bumps [os_info](https://github.com/darkeld3r/os_info) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/darkeld3r/os_info/releases)
- [Changelog](https://github.com/DarkEld3r/os_info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/darkeld3r/os_info/compare/v2.0.6...v2.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 21:42:37 +00:00
dependabot-preview[bot] b84ec9e4e5 build(deps): bump serde_json from 1.0.56 to 1.0.57
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.56...v1.0.57)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 17:30:12 +00:00
dependabot-preview[bot] 4866221357 build(deps): bump nix from 0.17.0 to 0.18.0
Bumps [nix](https://github.com/nix-rust/nix) from 0.17.0 to 0.18.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.17.0...v0.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 06:11:13 +00:00
dependabot-preview[bot] c46066a8d5 build(deps): bump sysinfo from 0.14.15 to 0.15.0
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.14.15 to 0.15.0.
- [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-07-24 07:56:05 +00:00
dependabot-preview[bot] 52cf48fed3 build(deps): bump sysinfo from 0.14.14 to 0.14.15
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.14.14 to 0.14.15.
- [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-07-23 07:58:01 +00:00
dependabot-preview[bot] ee3d22e513 build(deps): bump git2 from 0.13.6 to 0.13.8
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.13.6 to 0.13.8.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/0.13.6...0.13.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 05:55:36 +00:00
dependabot-preview[bot] d0a37710f4 build(deps): bump sysinfo from 0.14.13 to 0.14.14
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.14.13 to 0.14.14.
- [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-07-21 05:54:33 +00:00
dependabot-preview[bot] 7b7f2707dd build(deps): bump log from 0.4.8 to 0.4.11
Bumps [log](https://github.com/rust-lang/log) from 0.4.8 to 0.4.11.
- [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.8...0.4.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-16 07:59:36 +00:00
Alexey Chernyshov 57c39437bc
feat(directory): Show lock symbol if current directory is read only (#1298)
Add feature to display icon if current directory is read-only.
2020-07-13 16:55:42 -05:00
dependabot-preview[bot] 0db640396b build(deps): bump sysinfo from 0.14.10 to 0.14.13
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.14.10 to 0.14.13.
- [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-07-13 06:00:44 +00:00
Zhenhui Xie ec76fafff0
feat: refactor modules to use format strings (#1374) 2020-07-07 18:45:32 -04:00
dependabot-preview[bot] 7ce62cd9d4 build(deps): bump sysinfo from 0.14.9 to 0.14.10
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.14.9 to 0.14.10.
- [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-07-07 12:45:48 +00:00
Matan Kushner d1a3ef9984
chore(release): v0.44.0 2020-07-06 13:09:49 -04:00
dependabot-preview[bot] 5584783d51 build(deps): bump sysinfo from 0.14.8 to 0.14.9
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.14.8 to 0.14.9.
- [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-07-06 06:35:41 +00:00
dependabot-preview[bot] df710f80a9 build(deps): bump chrono from 0.4.12 to 0.4.13
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.12 to 0.4.13.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.12...v0.4.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 06:30:43 +00:00
dependabot-preview[bot] 506a5b7b7b build(deps): bump textwrap from 0.12.0 to 0.12.1
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.12.0...0.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 06:21:00 +00:00
dependabot-preview[bot] 1fd5476cbe build(deps): bump byte-unit from 4.0.4 to 4.0.8
Bumps [byte-unit](https://github.com/magiclen/byte-unit) from 4.0.4 to 4.0.8.
- [Release notes](https://github.com/magiclen/byte-unit/releases)
- [Commits](https://github.com/magiclen/byte-unit/compare/v4.0.4...v4.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 06:11:17 +00:00
dependabot-preview[bot] c6c1bc435d build(deps): bump sysinfo from 0.14.7 to 0.14.8
Bumps [sysinfo](https://github.com/GuillaumeGomez/sysinfo) from 0.14.7 to 0.14.8.
- [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-07-03 05:51:37 +00:00
dependabot-preview[bot] 4c12f3c6b6 build(deps): bump serde_json from 1.0.55 to 1.0.56
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.55...v1.0.56)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-02 06:02:11 +00:00
dependabot-preview[bot] bb97b90002 build(deps): bump unicode-width from 0.1.7 to 0.1.8
Bumps [unicode-width](https://github.com/unicode-rs/unicode-width) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/unicode-rs/unicode-width/releases)
- [Commits](https://github.com/unicode-rs/unicode-width/commits/v0.1.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-02 05:56:18 +00:00
dependabot-preview[bot] 49a6665b50 build(deps): bump path-slash from 0.1.2 to 0.1.3
Bumps [path-slash](https://github.com/rhysd/path-slash) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/rhysd/path-slash/releases)
- [Changelog](https://github.com/rhysd/path-slash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rhysd/path-slash/compare/v0.1.2...v0.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-02 05:52:48 +00:00
dependabot-preview[bot] c3e735f082 build(deps): bump chrono from 0.4.11 to 0.4.12
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.11 to 0.4.12.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/master/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.11...v0.4.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-02 05:46:35 +00:00
dependabot-preview[bot] a370bfdc63 build(deps): bump attohttpc from 0.14.0 to 0.15.0
Bumps [attohttpc](https://github.com/sbstp/attohttpc) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/sbstp/attohttpc/releases)
- [Commits](https://github.com/sbstp/attohttpc/compare/v0.14.0...v0.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 11:14:06 +00:00
dependabot-preview[bot] 433c6c6e06 build(deps): bump textwrap from 0.11.0 to 0.12.0
Bumps [textwrap](https://github.com/mgeisler/textwrap) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/mgeisler/textwrap/releases)
- [Changelog](https://github.com/mgeisler/textwrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mgeisler/textwrap/compare/0.11.0...0.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 11:13:59 +00:00
dependabot-preview[bot] 36f91267be build(deps): bump byte-unit from 3.1.3 to 4.0.4
Bumps [byte-unit](https://github.com/magiclen/byte-unit) from 3.1.3 to 4.0.4.
- [Release notes](https://github.com/magiclen/byte-unit/releases)
- [Commits](https://github.com/magiclen/byte-unit/compare/v3.1.3...v4.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 11:09:43 +00:00
Matan Kushner 8f1b18db7d
chore(release): v0.43.0 2020-06-26 11:37:22 -04:00
dependabot-preview[bot] f9bf2324e2
build(deps): bump path-slash from 0.1.1 to 0.1.2 (#1377)
* build(deps): bump path-slash from 0.1.1 to 0.1.2

Bumps [path-slash](https://github.com/rhysd/path-slash) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/rhysd/path-slash/releases)
- [Changelog](https://github.com/rhysd/path-slash/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rhysd/path-slash/compare/0.1.1...v0.1.2)

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

* Fix tests to improve slash handling on Windows

* Fix number of slashes

* Try fixing the slashes again

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Matan Kushner <hello@matchai.dev>
2020-06-22 18:41:05 -04:00
dependabot-preview[bot] 4a421607df build(deps): bump rayon from 1.3.0 to 1.3.1
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.3.0 to 1.3.1.
- [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.3.0...v1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:45:21 +00:00
dependabot-preview[bot] e1373b867f build(deps): bump urlencoding from 1.0.0 to 1.1.1
Bumps [urlencoding](https://github.com/kornelski/rust_urlencoding) from 1.0.0 to 1.1.1.
- [Release notes](https://github.com/kornelski/rust_urlencoding/releases)
- [Commits](https://github.com/kornelski/rust_urlencoding/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 09:26:50 +00:00
Julian Gehring d21cb62e3a
Replace `dirs` with `dirs-next` dependency (#1361)
`dirs` will be unmaintained for the foreseeable future, so
switch to the maintained fork `dirs-next`.

Closes #1319.
2020-06-20 12:59:35 -05:00