xxh/xonsh_plugins_rc.xsh
anki-code 1a4f2c1b8d
init
2019-11-03 16:06:26 +03:00

8 lines
232 B
Text

import os, glob
import_path = os.path.join($XXH_HOME, 'plugins')
xonshrc_plugins_rc=[]
for rc in sorted(glob.glob(os.path.join(import_path, '*/xonshrc.xsh'))):
xonshrc_plugins_rc.append(rc)
print(' '.join(xonshrc_plugins_rc))