Zhenhui Xie
aadd8ecf2c
refactor: Refactor modules to use module config ( #514 )
2019-10-19 10:51:38 +09:00
Nguyễn Hồng Quân
27fad02837
fix: Separate Python version string and env name ( #548 )
2019-10-17 18:55:48 +09:00
David Knaack
6ab70796db
feat: Implement PowerShell support ( #470 )
2019-10-16 00:10:16 +09:00
Matias Kotlik
d2eef11148
refactor: Refactor git_branch module to use new module config ( #535 )
2019-10-15 20:48:53 +09:00
Zhenhui Xie
be2d5cf1cd
refactor: Rewrite cmd_duration, directory and env_var module to use module config ( #460 )
...
This PR is a batched rewrite of the following modules:
- cmd_duration
- directory
- env_var
2019-10-15 20:34:48 +09:00
Zach Mertes
5303fd7684
feat: Add configuration for hostname truncation ( #485 )
2019-10-15 01:22:25 +09:00
Keith Wade
10efe3e320
fix: Show leading slash when truncating from root ( #526 )
2019-10-15 00:12:43 +09:00
Thomas Lee
b3275d8ddf
feat: Show AWS region in aws
module ( #482 )
2019-10-15 00:05:03 +09:00
Thomas O'Donnell
cc68dec795
refactor: Refactor Go module to the new module config ( #525 )
2019-10-13 13:16:56 +09:00
Zhenhui Xie
57b38f17bb
refactor: Rewrite hostname, jobs and line_break module to use mo… ( #462 )
2019-10-10 17:21:52 +09:00
Keith Wade
9d48706360
feat: Implement timezone offset config option for the time module ( #463 )
...
This allows users to configure the time module to display time with a timezone offset other than just their local timezone.
2019-10-10 13:42:57 +09:00
Maarten Mulders
8058b51273
feat: Show Java module when build.sbt is present ( #505 )
...
* feat: Show Java icon and info when build.sbt detected
* docs: Mention build.sbt detection
2019-10-07 19:18:01 +09:00
Zhenhui Xie
044e10de1b
chore: Import shared types from super ( #492 )
...
Changes imports statements to make imports more uniform.
2019-10-05 16:13:03 -05:00
AppleTheGolden
7657af0680
feat: Add conda module ( #469 )
2019-10-05 13:25:25 -05:00
Thomas Lee
27e8c8f3eb
refactor: Rewrite time
module to use module config ( #483 )
...
- Config option renamed: `12hr` → `use_12hr`
2019-10-06 00:07:00 +09:00
Zhenhui Xie
bc9e44f45c
fix: Add disable configuration option to kubernetes module ( #491 )
2019-10-05 23:10:16 +09:00
Matan Kushner
f2e20bbea2
revert: chore: Remove logic for the disabled
option from modul… ( #489 )
...
This reverts commit 6c6e0ef1dd0474dde5a4d29300bbf80b60761d53.
2019-10-05 19:03:48 +09:00
Thomas O'Donnell
5a8777ff45
fix: Disable Kubernetes module by default ( #488 )
...
Given the global nature of the Kubernetes module, the module has been disabled by default. The opportunity has also been taken to refactor the Kubernetes module to use the new config module.
2019-10-05 18:31:23 +09:00
Zhenhui Xie
6c6e0ef1dd
chore: Remove logic for the disabled
option from modules ( #486 )
2019-10-05 18:07:33 +09:00
Matan Kushner
05210b9510
refactor: Go from Rust workspaces to a package with nested packages ( #480 )
2019-10-04 22:30:46 +09:00
Zhenhui Xie
dd0b1a1aa2
refactor: Refactoring config ( #383 )
...
This PR refactors config and puts configuration files for all modules in `configs/`.
2019-09-30 21:10:35 +09:00
Matan Kushner
9e9eb6a8ef
fix: Disable memory_usage by default ( #451 )
2019-09-30 16:04:49 +09:00
Tom Hotston
7588137b09
feat: Added ability for setting command duration prefix ( #414 )
2019-09-30 14:26:32 +09:00
Ryo Yamashita
b7dc6c5e96
fix: Prevent rust
module from installing toolchains ( #426 )
...
Prevents the rust module from installing rustup toolchains.
Previously, the rust module would trigger rustup toolchain installations in some cases,
leading to frozen prompts while rustup downloads/installs components. This commit
changes the behaviour to avoid this.
2019-09-29 21:39:48 -05:00
Andrew Houts
0eafb2bde7
feat: add memory usage module ( #403 )
...
Adds a module to display system memory and swap usage.
2019-09-29 00:55:48 -05:00
yuri
63a45d01f9
feat: Use tilde for home_directory when under version control ( #439 )
2019-09-28 22:50:38 -05:00
yuri
d3fc66c0c5
feat: Add Environment Variable module ( #409 )
2019-09-26 17:30:58 +09:00
Thomas O'Donnell
b050c59708
feat: Add AWS module ( #419 )
...
Adds a module for displaying the current AWS profile based
on the AWS_PROFILE envar.
2019-09-25 21:55:47 -05:00
Matan Kushner
caaf3bc6a9
revert: Revert the command duration in ms feature ( #380 ) ( #425 )
...
Due to incompatibilities with the macOS date utility, we are
temporarily reverting this feature.
Refs: #c5e971a
2019-09-25 17:13:58 +09:00
Tom Hotston
c5e971aef8
feat: Add ability for command duration in milliseconds ( #380 )
2019-09-24 14:03:10 -05:00
Gimbar
702ad274cf
feat: Add option to always show the username module ( #408 )
2019-09-22 15:32:11 -05:00
Thomas O'Donnell
08340328dd
refactor: Remove dead code in battery module ( #405 )
2019-09-21 09:41:15 -05:00
谢祯晖
14fe246138
fix: Add display for unknown battery state ( #316 )
2019-09-20 12:52:54 -04:00
Kevin Song
c2875d99b6
feat: add support for logical paths in directory ( #366 )
...
Adds the ability for starship to display the logical path instead of the physical path.
2019-09-20 12:28:09 -04:00
Neil Kistner
cd892ebb60
fix: fish_pwd option handles repeated directories properly ( #399 )
2019-09-20 10:37:55 -04:00
Kuba Clark
71f03ec3e9
feat: Add Java Module ( #314 )
...
Implements a Java module which shows basic Java information when inside a Java project.
2019-09-19 18:02:53 -05:00
Kutsuzawa Ryo
7a98ec1d8e
feat: Add configuration for the git_status
prefix and suffix ( #367 )
2019-09-15 16:44:53 -04:00
Thomas O'Donnell
653def05f0
Enable the python module for tox files ( #369 )
...
Enable the python module if the current directory contains a `tox.ini`
file.
2019-09-15 12:21:40 -04:00
Nick Young
7e891f17c1
perf: Lazy load files from directory ( #335 )
...
Changes context to use `once_cell` to lazily evaluate directory listing on first use.
2019-09-14 09:23:53 -05:00
Matan Kushner
3e23a9a73c
chore: Rename integration_test to acceptance_test ( #356 )
2019-09-12 18:01:13 -05:00
谢祯晖
a6c64e8457
feat: Implement threshold based styling for battery module ( #318 )
2019-09-12 14:06:59 -04:00
谢祯晖
37b5168bfe
fix: Fixups for #138 ( #343 )
...
- Fix unused imports in unit tests
- Add accidently remove module "battery"
2019-09-11 08:43:40 -04:00
John Letey
f9a4514045
feat: Implement the prompt module for time ( #138 )
...
Add a module which displays the current time in a format requested by
the user. Disabled by default.
2019-09-10 12:54:40 -05:00
Neil Kistner
9f70ffb7a7
fix: Lazy load git repo and only run module if not disabled ( #306 )
...
A couple of optimizations are done in this PR. One, we now will check config ahead of time to see if a module is disabled before running any module code. Also, we won't try to discover a git repository unless the module requests access to it.
2019-09-09 19:14:38 -04:00
Kevin Song
9721666d33
feat: Add the ability to configure per-module color styles ( #285 )
...
Add parsing logic, config support, docs, and integration with other modules
for custom styling of each module.
2019-09-07 19:33:06 -05:00
Nick Young
eb724279da
feat: Adds Git State module for showing "REBASING 2/3", etc. ( #276 )
...
- Adds the git_state module.
- Adds git_state to the default prompt order
- Updates the documentation to describe the git_state module
2019-09-05 12:45:04 -04:00
Neil Kistner
1c66869117
feat: Add config for ahead/behind count of tracked branch ( #281 )
...
Add a configuration option (show_sync_count) to the git_status module that will show/hide the counts ahead/behind of the tracked branch. Currently have this default to false, and would opt-in to show this information.
2019-09-05 00:09:51 -04:00
Matan Kushner
e66d7bae1c
ci: Migrate CI from Azure Pipelines to GitHub Actions ( #233 )
...
Migrated CI from Azure Pipelines to GitHub Actions.
Until the release process is figured out in Actions, we'll stick to using Azure pipelines for releases.
2019-09-04 19:13:53 -04:00
Andrew Houts
84688e4981
feat: add hostname module ( #286 )
...
Add a hostname module as requested by @chipbuster.
Displays the system hostname as provided by gethostname.
2019-09-04 13:03:31 -04:00
Francisco Lopes
722a0652fd
feat: Respect status.showUntrackedFiles
2019-09-02 20:27:04 -04:00