1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-26 03:32:36 +00:00
starship/src/modules
Thomas O'Donnell 055986e2b1
feat(python): Add option to change the python binary (#1297)
* Add option to change the python binary

We are going to start to have problems with the python binary as python2
is removed and replaced with python3. To make the transition easier I
have added an option to the python module to allow the user to pick a
particular binary, e.g `python3`, for the module to use when selecting
the version of python. I have also refactored the python tests moving
almost all of them into the module and removing the dependency on the
version of python that is installed on the system.

* Add advanced config section to python module docs

Have added an advanced config section to the python module docs and
moved the `python_binary` option into that section.
2020-06-14 11:27:10 +02:00
..
utils feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
aws.rs feat(aws): Use AWS_VAULT as the profile if set (#984) 2020-04-06 16:59:56 +02:00
battery.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
character.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
cmd_duration.rs fix: Fix incorrect prefix usage in cmd_duration module (#832) 2020-01-18 01:15:08 -06:00
conda.rs fix: Truncate long paths in conda environment names (#694) 2019-12-09 12:59:02 -05:00
crystal.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
custom.rs fix(custom): improve handling of Powershell prompts (#1237) 2020-05-27 09:38:05 +02:00
directory.rs feat(directory): Add directory substitutions (#1183) 2020-05-31 19:32:35 +02:00
docker_context.rs feat: add docker context module (#996) 2020-04-05 21:42:55 +02:00
dotnet.rs perf(dotnet): fail faster in the dotnet module (#1034) 2020-04-03 12:34:35 -04:00
elixir.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
elm.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
env_var.rs refactor: Cleanup after module config refactor (#630) 2019-11-07 12:38:30 +09:00
erlang.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
git_branch.rs revert: fix(git_branch,git_status): implement fallback branch_n… (#1092) 2020-04-11 16:10:39 -04:00
git_commit.rs feat(git_commit): Show the hash of commits when detached HEAD (#738) 2020-02-12 14:56:29 -05:00
git_state.rs refactor: Refactor git state module to use module config (#605) 2019-11-06 22:00:31 +09:00
git_status.rs revert: fix(git_branch,git_status): implement fallback branch_n… (#1092) 2020-04-11 16:10:39 -04:00
golang.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
haskell.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
hg_branch.rs perf(hg_branch): Replace direct calls to hg (#803) 2020-01-03 17:51:45 -05:00
hostname.rs refactor: Cleanup after module config refactor (#630) 2019-11-07 12:38:30 +09:00
java.rs feat: Enable to display language version when .<lang>-version file exists. (#1028) 2020-04-03 21:02:28 +02:00
jobs.rs refactor: improve as-a-library usage by removing ArgMatches depe… (#547) 2019-10-20 17:26:27 +09:00
julia.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
kubernetes.rs fix: Fix latest clippy suggestions (#1136) 2020-04-24 12:37:13 +02:00
line_break.rs refactor: Rewrite hostname, jobs and line_break module to use mo… (#462) 2019-10-10 17:21:52 +09:00
memory_usage.rs test(nodejs): Port nodejs module tests from E2E to integraton (#867) 2020-01-26 16:37:18 -06:00
mod.rs feat(nim): Add Nim module (#1189) 2020-06-09 19:14:47 +02:00
nim.rs feat(nim): Add Nim module (#1189) 2020-06-09 19:14:47 +02:00
nix_shell.rs feat(nix_shell): add symbol to nix-shell module (#1058) 2020-04-07 18:35:18 +02:00
nodejs.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
ocaml.rs feat(ocaml): Add OCaml module (#1218) 2020-05-21 18:43:13 +02:00
package.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
php.rs Fix PHP version including error messages (#1317) 2020-06-13 01:04:53 +02:00
purescript.rs feat(PureScript): Add Purescript module (#1227) 2020-05-22 18:26:58 +02:00
python.rs feat(python): Add option to change the python binary (#1297) 2020-06-14 11:27:10 +02:00
ruby.rs feat(package): configurable displaying package version for packages marked as private (#1109) 2020-04-28 10:53:30 +02:00
rust.rs perf: Optimize files, folder and extension lookups in Context (#880) 2020-02-03 16:57:48 -05:00
singularity.rs feat: add singularity module (#932) 2020-02-26 11:18:19 -05:00
terraform.rs feat: Implement terraform module with workspace and version (#644) 2019-12-08 20:42:51 -05:00
time.rs feat(time): Show module with time range (#992) 2020-05-31 19:43:08 +02:00
username.rs refactor: Refactor modules to use the exec_cmd util (#676) 2019-12-02 17:42:55 -05:00
zig.rs feat: add Zig module (#1231) 2020-05-21 18:49:49 +02:00