diff --git a/cd/__init__.py b/cd/__init__.py index f8fb36d..9dd0619 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -6,7 +6,7 @@ from rwx import ps COMMANDS_PREFIX = 'cd-' -environment = sorted(os.environ.items()) +environment = os.environ project = Project(environment) projects = Projects(environment) @@ -22,7 +22,7 @@ def cd_clone_branch(): def cd_list_environment(): - for variable, value in environment: + for variable, value in sorted(environment.items()): print(variable, '=', value)