Commit Graph

226 Commits

Author SHA1 Message Date
Matan Kushner
66939535db
docs: Change the logo to the redesigned logo (#77) 2019-06-12 21:59:58 +01:00
Matan Kushner
097f1b05f1
Add support for prompt configuration (#62)
- Create `Config` struct that is added to `Context` when initialized
- Read `~/.confg/starship.toml` during initialization (can be updated later to also look at `$XDG_CONFIG_HOME`)
- `Context` now has a method for creating modules. This allows us to provide modules with a reference to the configuration specific to that module
2019-06-10 15:56:17 +01:00
Matan Kushner
8239fbd12b
Refactor integration tests (#71)
- Create subcommands to be able to print modules independently
	- `starship prompt` will print the full prompt
	- `starship module <MODULE_NAME>` will print a specific module
		e.g. `starship module python`
	- Added `--path` flag to print the prompt or modules without being in a specific directory
	- Added `--status` flag to provide the status of the last command, instead of requiring it as an argument
- Refactored integration tests to be end-to-end tests, since there was no way in integration tests to set the environment variables for a specific command, which was required for the `username` module
- Moved e2e tests to `tests/testsuite` to allow for a single binary to be built
	- Tests will build/run faster
	- No more false positives for unused functions
- Added tests for `username`
- Removed codecov + tarpaulin 😢
2019-06-06 13:18:00 +01:00
Matan Kushner
000abfe6df
Use tarpaulin and Codecov for adding code coverage to project (#68) 2019-05-29 22:58:46 +02:00
Matan Kushner
c2b0f3ac49
docs: Add starship logo to README.md (#65) 2019-05-25 11:11:12 -04:00
Matan Kushner
5b989fcb9c
feat: Add battery module(#63) 2019-05-22 12:29:39 -04:00
allcontributors[bot]
b2edadce05 docs: add youssefhabri as a contributor (#61)
* docs: update README.md
* docs: update .all-contributorsrc
2019-05-20 14:08:03 -04:00
​Snuggle
351707b0e6 Update repo emojis 🚀 => ☄🌌️ (#50)
Let's go to warp-speed!
2019-05-16 17:57:34 -06:00
Matan Kushner
cae4666bed
docs: Alphebetize roles in All Contributors 2019-05-16 10:48:30 -06:00
Matan Kushner
27046be1c9
docs: Add All Contributors to the project (#51)
- Add All Contributors section to README.md
- Add all past contributors
2019-05-16 10:46:07 -06:00
Matan Kushner
90d6e6cf0b
Implement the git status module (#45) 2019-05-13 22:43:11 -06:00
John Letey
d3ce00c516 Add Go version module (#44) 2019-05-11 23:58:45 -04:00
John Letey
ca12d22ace Add Python version segment (#23) 2019-04-25 11:06:18 -04:00
Tim Mulqueen
213cded911 Add a Contributing section to README.md (#20) 2019-04-24 17:12:08 -04:00
John Letey
f75013ce08 Correct the Rust version symbol in README (#19) 2019-04-24 09:15:00 -04:00
Matan Kushner
33d8beda2d
Update features included in starship 2019-04-21 19:49:11 -04:00
Matan Kushner
d620f9116b
Update README.md 2019-04-17 16:48:44 -04:00
Matan Kushner
c5b9f39b92
Create and document ZSH adapter (#9)
### Added
- A `.zsh-theme` file as an adapter for zsh
- Documentation for zsh installation

### Changed
- Created an `adapter/` directory for future adapters
2019-04-17 08:38:36 -07:00
Matan Kushner
bd298374d4
Replace expired link with a non-expiring link 2019-04-15 23:24:15 -04:00
Matan Kushner
ab5490bea6
Add README.md badges (#5) 2019-04-15 14:38:45 -04:00
Matan Kushner
71cac5bd1f
Fix typo in README.md 2019-04-14 01:15:48 -04:00
Matan Kushner
2085397b22
Add development plans to README.md 2019-04-13 12:51:12 -04:00
Matan Kushner
e314cbbf77
Add features and shells to README 2019-04-13 00:45:33 -04:00
Matan Kushner
4ce4899f81
Add fish_prompt 2019-04-13 00:34:56 -04:00
Matan Kushner
e2ba7a1354
Add segment structure and logic 2019-04-03 20:14:26 -04:00
Matan Kushner
ca3f439012
Initial commit 2019-04-01 23:23:03 -04:00