mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-11-16 10:05:13 +00:00
b685bb2954
* feat: add docker context module Adds a simple module that checks for a Docker config file and if present, reads the `currentContext` value out and displays on the prompt with a whale. * feat: add `only_with_compose_yml` option to docker_context When enabled, will only show the docker context name if there's a docker-compose.yml file in the current directory. * Update src/modules/docker_context.rs Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com> * Update src/modules/docker_context.rs Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com> * rename `only_with_compose_yml` configuration key to a more generic `only_with_files` * Update src/modules/docker_context.rs Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com> * re-order configuration table * Update docs/config/README.md Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com> * Update src/configs/docker_context.rs Co-Authored-By: Thomas O'Donnell <andytom@users.noreply.github.com> Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
40 lines
665 B
Rust
40 lines
665 B
Rust
pub mod aws;
|
|
pub mod battery;
|
|
pub mod character;
|
|
pub mod cmd_duration;
|
|
pub mod conda;
|
|
pub mod crystal;
|
|
pub mod directory;
|
|
pub mod docker_context;
|
|
pub mod dotnet;
|
|
pub mod elixir;
|
|
pub mod elm;
|
|
pub mod env_var;
|
|
pub mod git_branch;
|
|
pub mod git_commit;
|
|
pub mod git_state;
|
|
pub mod git_status;
|
|
pub mod go;
|
|
pub mod haskell;
|
|
pub mod hg_branch;
|
|
pub mod hostname;
|
|
pub mod java;
|
|
pub mod jobs;
|
|
pub mod julia;
|
|
pub mod kubernetes;
|
|
pub mod memory_usage;
|
|
pub mod nix_shell;
|
|
pub mod nodejs;
|
|
pub mod package;
|
|
pub mod php;
|
|
pub mod python;
|
|
pub mod ruby;
|
|
pub mod rust;
|
|
pub mod singularity;
|
|
mod starship_root;
|
|
pub mod terraform;
|
|
pub mod time;
|
|
pub mod username;
|
|
|
|
pub use starship_root::*;
|