mirror of
https://github.com/xxh/xxh
synced 2024-12-20 08:43:25 +00:00
9 lines
367 B
Text
9 lines
367 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)
|
|
|
|
# Prefix `xxh-plugins: ` is needed to workaround some cases when ssh write warnings to stdout and return before this
|
|
print(f"xxh-plugins# {' '.join(xonshrc_plugins_rc)}")
|