summaryrefslogtreecommitdiffstats
path: root/src/main.rs
AgeCommit message (Collapse)Author
2019-08-12feat: Implement the prompt module for jobs (#85)John Letey
2019-08-08feat: implement timer module (#118)Kevin Song
Implement a timer module that takes a commandline argument, the number of seconds the last job took to complete, and displays it if appropriate. Alters shell initialization files to compute this number using date +%s where needed. Adds a config section to configure minimum amount of time before timer is shown (default is 2s)
2019-07-03feat: Implement simplified prompt setup process (#90)Matan Kushner
• Add starship init which prints the shell function used to execute starship • Document the new setup process using starship init • Remove benchmarks for now (WIP replacement benchmarks in "benchmarking" branch )
2019-07-02feat: Add a `disabled` configuration option for modules (#86)Matan Kushner
• Add support for the disabled configuration option This will allow you to selectively disable modules that you don't want or need. 😄 • Overwrite starship configuration file path with STARSHIP_CONFIG environment variable • Write tests for the two configuration options that are available
2019-06-10Add support for prompt configuration (#62)Matan Kushner
- 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-06Refactor integration tests (#71)Matan Kushner
- 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-05-22feat: Add battery module(#63)Matan Kushner
2019-05-13Implement the git status module (#45)Matan Kushner
2019-05-01Refactor segments into modules (#40)Matan Kushner
2019-04-19Use "context" to contain run details (#14)Matan Kushner
* Create "context" to contain run details * Use context in tests and benchmarks
2019-04-13Add fish_promptMatan Kushner
2019-04-12Add builder pattern for segmentMatan Kushner
2019-04-12Revert "Parallelize nodejs file checks"Matan Kushner
This reverts commit 99bdf27ecac655b54b03d7389b1b24970a1ec9ec.
2019-04-12Parallelize nodejs file checksMatan Kushner
2019-04-08Tidy up dir sectionMatan Kushner
2019-04-07Use git project root for truncationMatan Kushner
2019-04-04Rename segementsMatan Kushner
2019-04-04Add line_sep sectionMatan Kushner
2019-04-04Add basic benchmarksMatan Kushner
2019-04-04Move Segment struct to modulesMatan Kushner
2019-04-03Set status with arg rather than envMatan Kushner
2019-04-03Add segment structure and logicMatan Kushner
2019-04-02Start working on char color for statusMatan Kushner
2019-04-01Run rustfmtMatan Kushner
2019-04-01Add authors to help messageMatan Kushner
2019-04-01Initial commitMatan Kushner