spcd/cd/__init__.py

14 lines
225 B
Python
Raw Normal View History

2024-04-26 20:45:27 +00:00
#! /usr/bin/env python3
2024-04-26 19:58:35 +00:00
import os
import sys
def install_commands():
2024-04-26 20:38:23 +00:00
os.symlink(__file__, f'/usr/local/bin/cd-list-environment')
2024-04-26 19:58:35 +00:00
if __name__ == '__main__':
2024-04-26 20:50:08 +00:00
command, _ = *sys.argv
2024-04-26 19:58:35 +00:00
print(f'command: {command}')