This commit is contained in:
anki-code 2020-02-16 23:53:37 +03:00
parent 6b3846ab6e
commit a71d80b54d
2 changed files with 0 additions and 10 deletions

View file

@ -17,7 +17,6 @@ echo xxh_version=$xxh_version
echo xxh_home_writable=`[ -w $xxh_home_realpath ] && echo "1" ||echo "0"`
echo xxh_parent_home_writable=`[ -w $(dirname $xxh_home_realpath) ] && echo "1" ||echo "0"`
echo xxh_home_freespace=`[ -d $xxh_home_realpath ] && df -k --output=avail $xxh_home_realpath | tail -n1`
echo xxh_plugins_rc=`[ -d $xxh_plugins_path ] && find $xxh_plugins_path | grep xonshrc.xsh`
echo bash=`command -v bash`
echo rsync=`command -v rsync`

View file

@ -1,9 +0,0 @@
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)}")