From a239d25d8fca7c0c5b7a828dfa85dcca9800986c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 26 Apr 2024 23:08:10 +0200 Subject: [PATCH] basename --- cd/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cd/__init__.py b/cd/__init__.py index f382ec7..e87e633 100755 --- a/cd/__init__.py +++ b/cd/__init__.py @@ -10,4 +10,5 @@ def install_commands(): if __name__ == '__main__': command, *_ = sys.argv + command = os.path.basename(command) print(f'command: {command}')