7 lines
171 B
Python
7 lines
171 B
Python
import os
|
|
|
|
|
|
def install_commands(path):
|
|
user = '/usr/local/bin'
|
|
for command in ['list-environment']:
|
|
os.symlink(path, os.path.join(user, f'cd-{command}'))
|