starship/src
Barnaby Keene 9f365f84d1 refactor: Allow starship to be better used programmatically (#509)
Structure the prompt as a function that returns a string instead of writing directly to stdout.

This makes it easier to embed Starship into other Rust programs such as shells written in Rust. It also decouples the arguments from the context for more programmatic initialization of the context.
2019-10-09 10:43:28 +09:00
..
configs refactor: Implement Default for SegmentConfig (#495) 2019-10-05 20:46:14 -05:00
init refactor: Go from Rust workspaces to a package with nested packages (#480) 2019-10-04 22:30:46 +09:00
modules feat: Show Java module when build.sbt is present (#505) 2019-10-07 19:18:01 +09:00
config.rs refactor: Implement Default for SegmentConfig (#495) 2019-10-05 20:46:14 -05:00
context.rs fix: Add disable configuration option to kubernetes module (#491) 2019-10-05 23:10:16 +09:00
lib.rs refactor: Go from Rust workspaces to a package with nested packages (#480) 2019-10-04 22:30:46 +09:00
main.rs refactor: Go from Rust workspaces to a package with nested packages (#480) 2019-10-04 22:30:46 +09:00
module.rs fix: Don't print the first module prefix after a line-break (#473) 2019-10-07 00:46:46 +09:00
print.rs refactor: Allow starship to be better used programmatically (#509) 2019-10-09 10:43:28 +09:00
segment.rs refactor: Go from Rust workspaces to a package with nested packages (#480) 2019-10-04 22:30:46 +09:00
utils.rs refactor: Go from Rust workspaces to a package with nested packages (#480) 2019-10-04 22:30:46 +09:00