summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2020-02-03perf: Optimize files, folder and extension lookups in Context (#880)Sam Rose
2020-02-01feat!: Update colors of package and php modules (#782)Matan Kushner
2020-02-01fix(haskell): Add the Haskell module to the default prompt order (#893)Andrew Prokhorenkov
2020-01-28fix: escape "$" character to avoid bash interpreting (#884)Luca Rinaldi
2020-01-27fix: Restrict clear screen control code printing to fish (#865)Kevin Song
Wraps clearscreen print codes in a statement to detect fish shell, since it is a workaround for a fish shell behavior.
2020-01-26test(nodejs): Port nodejs module tests from E2E to integraton (#867)Matan Kushner
Replaces the existing nodejs module end-to-end tests with integration tests that don't require preinstalled environmental dependencies. - Moved the tests to the same file as the module they test - Created a render_module utility function for rendering modules within tests - Removed Node.js installation during CI setup - Add Shell to Context to allow for tests to not run shell-specific code
2020-01-25feat: add Haskell Stack support (#546)Andrew Prokhorenkov
Add a Haskell Stack module when a stack.yaml file is detected
2020-01-24fix(java): Add detection for *.gradle files (#871)Sam Rose
Currently the Java module detection looks for build.gradle specifically, but it's possible to rename build.gradle to *.gradle. This change adds Gradle files to the list of detected file extensions.
2020-01-21fix(python): Trim "Anaconda, Inc." from version (#861)Peter Bull
2020-01-19refactor: replace reqwest with ureq (#844)David Knaack
2020-01-18fix: Fix incorrect prefix usage in cmd_duration module (#832)Thomas O'Donnell
Fixed the way the cmd_duration module is setting it's prefix to be the same as the other modules.
2020-01-15fix(bug-report): Fix status code 414 when generated bug report is too long ↵Jon Grythe Stødle
(#750)
2020-01-15refactor(dotnet): Use `exec_cmd` util (#826)Thomas O'Donnell
Have refactored the dotnet module to use the util::exec_cmd rather than the Command module directly.
2020-01-12refactor(php): Use `exec_cmd` util(#825)Thomas O'Donnell
2020-01-11chore: Add ability to mock commands during tests (#768)Thomas O'Donnell
2020-01-07fix: Correct module description text for git_commit (#812)Hendrik Rombach
2020-01-06build(deps): bump reqwest from 0.9.24 to 0.10.0 (#797)dependabot-preview[bot]
* build(deps): bump reqwest from 0.9.24 to 0.10.0 Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.9.24 to 0.10.0. - [Release notes](https://github.com/seanmonstar/reqwest/releases) - [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/reqwest/compare/v0.9.24...v0.10.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-04feat: Terminate $PROMPT_COMMAND properly (#799)InNoobWeTrust
Add trailing semicolon to end $PROMPT_COMMAND properly. This will prevent starship_precmd to accidentally mess with other hooks invoked after it.
2020-01-03perf(hg_branch): Replace direct calls to `hg` (#803)David Hewson
perf: don't use hg process to get branch / bookmark information, each call was taking 250ms and it was making on average 2 calls. the branch and bookmark information is available in files in the root of the repo, use that instead. now takes 300 micro seconds fix: do not use .hgignore to decide if it is an hg repo. was providing false positives. #721 fix: after changing branch the new branch was not show (the old branch was shown), the new branch is now correctly shown. #722 fix: if no branch override was set it would say (no branch) however if you commited in that state you would commit to the branch default so say that instead
2020-01-01feat: Add the `starship explain` command (#699)Jon Grythe Stødle
This adds the explain argument to Starship, which explains what the printed modules in the prompt are.
2019-12-30fix: Consider `$STARSHIP_CONFIG` in `configure` (#795)AppleTheGolden
Makes starship configure consider the $STARSHIP_CONFIG variable before falling back to the default of ~/.config/starship.toml.
2019-12-28feat(git_status): Add a stash count segment (#598)marblenix
2019-12-28fix: Remove trailing semicolon from `$PROMPT_COMMAND` (#784)InNoobWeTrust
Remove any trailing semicolon in $PROMPT_COMMAND before appending starship_precmd, to prevent syntax error.
2019-12-23fix(package): Use specified directory instead of current working directory ↵Tobias Bieniek
(#774)
2019-12-23fix: Parse arguments of $VISUAL and $EDITOR (#772)Dominik Braun
Co-authored-by: AppleTheGolden <scotsbox@protonmail.com>
2019-12-21fix: Improve error message when current dir is not found (#773)Leonora Tindall
2019-12-20perf: Dereference before to_string in aws moduleMatan Kushner
2019-12-20feat: Implement AWS region aliases (#646)Mike Sampson
2019-12-20fix: Improvements to `starship configure` (#756)AppleTheGolden
- look for $VISUAL first, then $EDITOR, then the default - panic if we can't find the home dir
2019-12-19fix: Clear before printing prompt (#739)Jon Grythe Stødle
This clears any leftover text when the prompt updates in-place (e.g. Alt + Left/Right in fish shell)
2019-12-19feat: cmd_duration module optionally reports milliseconds (#696)Luca Rinaldi
2019-12-19fix(bash): save and restore "$_" (#753)Etienne Mabille
2019-12-19feat: Adds build.gradle.kts detection to the Java module (#731)Mario Arias
2019-12-18feat: Implement `starship configure` command (#751)Dominik Braun
2019-12-17feat: Extend bug-report to include terminal emulator (#740)Matan Kushner
2019-12-15docs: Update bug report templateMatan Kushner
2019-12-14feat: Add `bug-report` sub-command (#725)Jon Grythe Stødle
This adds a sub command to generate the link. Information, such as operating system and it's version; the current shell's config; and current starship conf, is gathered from the environment and is included in the pre-filled text. The command will also try to open the link in the default browser. Should that fail it will print the link instead and ask the user to copy it.
2019-12-13fix(powershell): % sign was prefixed with ` (#730)David Knaack
2019-12-13fix: Wrap prefix and suffix in shell-specific escape codes (#712)Brian Low
2019-12-13fix(powershell): Fix prompt not updating on -nix systems (#728)David Knaack
Closes #661
2019-12-12build(deps): bump sysinfo from 0.9.6 to 0.10.2 (#711)dependabot-preview[bot]
2019-12-11feat: add composer.json version to Package module (#716)Morten Scheel
2019-12-11feat: Add support for the ion shell (#704)BuggStream
2019-12-10fix: Add php to the default prompt order (#708)AppleTheGolden
2019-12-09fix: Truncate long paths in conda environment names (#694)AppleTheGolden
Environment names created via conda create -p [path] tend to be too long for comfort, so this truncates them.
2019-12-08docs: Reorder terraform option rows for consistencyMatan Kushner
2019-12-08feat: Implement terraform module with workspace and version (#644)wdullaer
2019-12-06feat: Add prefix config to directory module (#642)Dan Wendorf
2019-12-06feat: Add git_commit module (#673)Qingping Hou
2019-12-05feat: Add PHP version module (#244)Stephen Ball