Commit Graph

1556 Commits

Author SHA1 Message Date
Bruno Bigras ad8cd7334f Add repology badge to README (#249) 2019-08-27 22:36:43 -07:00
Neil Kistner 9853743eda feat: Add commit count for ahead/behind symbols (#247)
Add logic for the git status module to display the number of commits the index is ahead or behind next to the symbol.
2019-08-27 20:11:42 -07:00
Bruno Bigras ed27cf4a2c docs: add termux install instructions (#248) 2019-08-27 19:32:26 -04:00
Matan Kushner cacaf66efe
chore(bump): v0.13.1 2019-08-27 14:10:48 -04:00
Bruno Bigras fa2d1c05a6 fix: use procsub in bash since termux has no stdin (#241) 2019-08-27 00:02:52 -07:00
Matan Kushner f61e7e2f87
chore(bump): v0.13.0 2019-08-26 23:10:58 -04:00
allcontributors[bot] 656e0bb52e docs: add wyze as a contributor (#245)
* docs: update README.md

* docs: update .all-contributorsrc
2019-08-26 22:29:32 -04:00
Neil Kistner e034253a5e feat: Add ability to use an alternate directory truncation style (#239)
* Add ability to use an alternate directory truncation style
2019-08-26 21:52:45 -04:00
Matan Kushner 81ea165cec
chore: Add homepage to Cargo.toml 2019-08-26 15:07:47 -04:00
Ivan Tham cdea401589 refactor: just match enum (#236)
Remove forced unwrap since match is already exhausted
2019-08-26 14:47:34 -04:00
Bruno Bigras 0fa862a2e9 make the battery module optional for now (#234)
The 'battery' crate doesn't support Termux, so we are temporarily making the battery module optional.
2019-08-26 14:09:39 -04:00
dependabot-preview[bot] f7754455e6 chore(deps): Bump lazy_static from 1.3.0 to 1.4.0 (#242)
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 12:53:40 -04:00
TsubasaKawajiri 08aef016cd fix: battery percentage character on Zsh. #226 (#237)
on Zsh, battery percentage character would print %
this PR fixes print %{ -> %
2019-08-25 21:52:44 -04:00
Bruno Bigras feb737190e Add nix-shell support (#173) 2019-08-25 11:41:20 -04:00
Matan Kushner 57e807fec6
style: Fix clippy warnings 2019-08-23 13:13:04 -04:00
Matan Kushner 2d10cb2b30
chore(bump): v0.12.2 2019-08-23 10:41:05 -04:00
allcontributors[bot] a5db918cfd docs: add bbigras as a contributor (#230) 2019-08-22 20:41:29 -04:00
Matan Kushner e31b3391f1
docs: Add new demo gif to README (#231)
Since the prompt has been updated to have a new default character symbol, it's time we update the demo gif to reflect those changes.
2019-08-22 20:03:45 -04:00
Matan Kushner b70f6f1ad3
chore(bump): v0.12.1 2019-08-22 19:04:10 -04:00
Bruno Bigras 68cbcb91b7 Use full path to starship in all phases of init (#224) 2019-08-22 12:57:32 -07:00
allcontributors[bot] 70d53ee7a9 docs: add andytom as a contributor (#223) 2019-08-22 10:36:34 -04:00
Shu Kutsuzawa f74e639c49 docs: fix LICENSE and CONTRIBUTING links (#228) 2019-08-22 10:35:15 -04:00
Thomas O'Donnell 1478f8c2e9 Add support for detecting Python from Pipenv files (#221)
Added the ability to enable the Python module based on the existence of the a `Pipfile`.
2019-08-21 15:54:22 -07:00
Kevin Song 360ea988e5
Add ruby to default module ordering (#217) 2019-08-21 12:41:01 -07:00
dependabot-preview[bot] 1943da86ce chore(deps): Bump git2 from 0.9.2 to 0.10.0 (#216)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.9.2...git2-curl-0.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-21 13:17:13 -04:00
Kevin Song da86b4f847
fix: Failing Tests if home is a git directory (#214) 2019-08-21 09:37:43 -07:00
Shu Kutsuzawa faa2280620 Correct description of Rust symbol in docs (#219)
Signed-off-by: cappyzawa <cappyzawa@yahoo.ne.jp>
2019-08-21 09:08:56 -07:00
Kevin Song f06247d5d3 fix: Correct ZSH init on older ZSH versions (#213) 2019-08-20 23:49:07 -04:00
Matan Kushner dcb78a4e0b
docs: Add a GA tag 2019-08-20 11:13:19 -04:00
Oran Simhony 2f9922ff2f docs: Fix the good first issue link (#207)
Fixed hyperlink to point to the correct location (added 🌱 emoji and a whitespace in the start)
2019-08-20 09:51:00 -04:00
Bruno Bigras ff8b2a3387 docs: Add Nix installation instructions (#191) 2019-08-20 00:50:35 -04:00
Matan Kushner a08cc971ab
chore(bump): v0.12.0 2019-08-20 00:45:42 -04:00
Saurav Sharma 075a76897c fix: Change panicking on unknown module to error print and support module listing flag (#197) 2019-08-20 00:42:25 -04:00
Kevin Song 0e82c19f37
feat: Implement a two-phase init which allows us to write normal init scripts (#168)
Implement a two-phase init procedure in starship. The first phase causes the shell to source a subshell, while the second phase (in the subshell) prints the main init script.

This allows us to have nice init scripts with good styling, comments, and no pile of semicolons. Even better, it works as a drop-in replacement, so we don't need to update the docs.
2019-08-19 18:44:53 -07:00
Matan Kushner 2e39c6d0fa
docs: Small README.md fixes 2019-08-19 15:50:36 -04:00
Saghm Rossi 7240a81e98 chore(deps): Update `crossbeam-epoch` dependency (#200) 2019-08-19 13:55:41 -04:00
Matan Kushner 7f7d77b3d9 chore: Add labels to issue templates 2019-08-19 13:00:32 -04:00
dependabot-preview[bot] 5b3641e50b chore(deps): Bump pretty_env_logger from 0.3.0 to 0.3.1 (#195)
Bumps [pretty_env_logger](https://github.com/seanmonstar/pretty-env-logger) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/seanmonstar/pretty-env-logger/releases)
- [Commits](https://github.com/seanmonstar/pretty-env-logger/compare/v0.3.0...v0.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-19 11:51:55 -04:00
Matan Kushner b39d31aaa7
chore(bump): v0.11.0 2019-08-19 11:18:00 -04:00
Kevin Song a8a553578b docs: Add AUR install instructions (#187) 2019-08-19 11:10:25 -04:00
allcontributors[bot] a965b2587d docs: add iamsauravsharma as a contributor (#189) 2019-08-18 22:02:39 -07:00
Saurav Sharma f54322f2ab feat: Add configuration for reordering the prompt module and disabling default order (#171)
Adds functionality for reordering the prompt module through the use of the prompt_order configuration option in starship.toml
2019-08-18 21:35:11 -07:00
allcontributors[bot] 51f723df22 docs: add iamsauravsharma as a contributor (#186) 2019-08-18 21:14:28 -07:00
Saurav Sharma 664df257bf fix: Solve bash & zsh cursor location confusion issue (#183)
Solves the issue of cursor location confusion on bash and zsh (#110) . Solution: modify ANSIString and wrap non-printing characters with correct escape sequences.
2019-08-18 20:33:12 -07:00
Matan Kushner f7a77edb35
docs: Update setup instructions on landing page (#184) 2019-08-18 13:45:36 -04:00
John Merchant 5af70b9699 fix: Fix directory_in_root integration test on Windows (#181) 2019-08-18 11:55:45 -04:00
Kevin Song 85ac0a6801 fix: Set default prompt character to ❯ (#177) 2019-08-18 11:34:45 -04:00
Kevin Song 572a07c72d fix: Correct broken zsh init in absence of precmd_functions (#180) 2019-08-18 07:07:38 -04:00
Saghm Rossi dfe2ae643a fix a few typos (#178) 2019-08-17 20:50:42 -07:00
Kevin Song 8782e300fc
feat: Allow bash users to specify a precmd function (#166)
Allows bash users to run a function before the shell is drawn, by defining a function and setting its name equal to starship_precmd_user_func.
2019-08-17 16:53:59 -07:00