diff --git a/cd/__init__.py b/cd/__init__.py index 9b1fdd9..4795a81 100644 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -4,7 +4,7 @@ COMMANDS_PREFIX = 'cd-' def cd_list_environment(): - for variable, value in os.environ: + for variable, value in os.environ.items(): print(variable, value)