From 337154ad35349aca23d5f9168a54ff5c774994a6 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Wed, 24 Nov 2021 01:56:16 +0900 Subject: [PATCH] chore: fix typo in docker_context.rs (#3265) enviroment -> environment --- src/modules/docker_context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/docker_context.rs b/src/modules/docker_context.rs index c716e0d5..ff0a048f 100644 --- a/src/modules/docker_context.rs +++ b/src/modules/docker_context.rs @@ -9,8 +9,8 @@ use crate::utils; /// Creates a module with the currently active Docker context /// /// Will display the Docker context if the following criteria are met: -/// - There is a non-empty enviroment variable named DOCKER_HOST -/// - Or there is a non-empty enviroment variable named DOCKER_CONTEXT +/// - There is a non-empty environment variable named DOCKER_HOST +/// - Or there is a non-empty environment variable named DOCKER_CONTEXT /// - Or there is a file named `$HOME/.docker/config.json` /// - Or a file named `$DOCKER_CONFIG/config.json` /// - The file is JSON and contains a field named `currentContext`