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