spcd/cd/__init__.py
Marc Beninca a239d25d8f
Some checks failed
/ job (push) Failing after 7s
basename
2024-04-26 23:08:10 +02:00

14 lines
265 B
Python
Executable file

#! /usr/bin/env python3
import os
import sys
def install_commands():
os.symlink(__file__, f'/usr/local/bin/cd-list-environment')
if __name__ == '__main__':
command, *_ = sys.argv
command = os.path.basename(command)
print(f'command: {command}')