From 0fc4690cd1d51e26b2fc36175043e5a58d5543d8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 27 Apr 2024 00:06:41 +0200 Subject: [PATCH] sorted --- cd/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cd/__init__.py b/cd/__init__.py index 4795a81..17399ce 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -4,8 +4,8 @@ COMMANDS_PREFIX = 'cd-' def cd_list_environment(): - for variable, value in os.environ.items(): - print(variable, value) + for variable, value in sorted(os.environ.items()): + print(variable, '=', value) def install_commands(path):