diff --git a/cd/__init__.py b/cd/__init__.py index a23b521..aeab3df 100755 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -5,10 +5,9 @@ import sys def install_commands(): - print('PATH:', os.environ['PATH']) os.symlink(__file__, f'/usr/local/bin/cd-list-environment') if __name__ == '__main__': - command, _ = sys.argv + command, _ = *sys.argv print(f'command: {command}')