1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-11-24 21:57:41 +00:00

fix(crystal): Add Crystal module to default prompt order (#1140)

This commit is contained in:
Alexandru Macovei 2020-04-24 20:37:34 +03:00 committed by GitHub
parent 6eb32eb55d
commit 2c30f4bd9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -50,6 +50,7 @@ impl<'a> RootModuleConfig<'a> for StarshipRootConfig<'a> {
"memory_usage", "memory_usage",
"aws", "aws",
"env_var", "env_var",
"crystal",
"cmd_duration", "cmd_duration",
"custom", "custom",
"line_break", "line_break",

View File

@ -103,6 +103,7 @@ pub fn description(module: &str) -> &'static str {
} }
"cmd_duration" => "How long the last command took to execute", "cmd_duration" => "How long the last command took to execute",
"conda" => "The current conda environment, if $CONDA_DEFAULT_ENV is set", "conda" => "The current conda environment, if $CONDA_DEFAULT_ENV is set",
"crystal" => "The currently installed version of Crystal",
"directory" => "The current working directory", "directory" => "The current working directory",
"docker_context" => "The current docker context", "docker_context" => "The current docker context",
"dotnet" => "The relevant version of the .NET Core SDK for the current directory", "dotnet" => "The relevant version of the .NET Core SDK for the current directory",