7 lines
170 B
Python
7 lines
170 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}')
|