14 lines
263 B
Python
Executable file
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}')
|