spcd/cd/__init__.py
Marc Beninca b1fbe33895
Some checks failed
/ job (push) Failing after 6s
shebang
2024-04-26 22:45:27 +02:00

14 lines
263 B
Python
Executable file

#! /usr/bin/env python3
import os
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
print(f'command: {command}')