This commit is contained in:
anki-code 2020-04-04 22:50:10 +03:00
parent 64f4957326
commit a7d9ae6dcc

View File

@ -129,6 +129,19 @@ export XDG_CONFIG_HOME=$XDGPATH/.config
export XDG_DATA_HOME=$XDGPATH/.local/share export XDG_DATA_HOME=$XDGPATH/.local/share
export XDG_CACHE_HOME=$XDGPATH/.cache export XDG_CACHE_HOME=$XDGPATH/.cache
#
# Init prerun plugins
#
for pluginrc_file in $(find $CURRENT_DIR/../../../plugins/xxh-plugin-prerun-*/build -type f -name '*pluginrc.sh' -printf '%f\t%p\n' 2>/dev/null | sort -k1 | cut -f2); do
if [[ -f $pluginrc_file ]]; then
if [[ $XXH_VERBOSE == '1' ]]; then
echo Load plugin $pluginrc_file
fi
#cd $(dirname $pluginrc_file)
source $pluginrc_file
fi
done
# #
# Run the portable shell # Run the portable shell
# #