Activate vox before other xontribs

When vox was activated after apipenv, then opening a new shell in a
folder with a Pipfile resulted in calls to vox before the xontrib had
been loaded. This resulted in improper error messages about missing
the vox program and meant the Pipenv was not auto-loading in that
folder.

By moving activation of vox before these other xontribs, those xontribs
can make use of vox internally
This commit is contained in:
Greg Hellings
2025-04-18 15:41:02 -05:00
parent 09afb7d003
commit 0b1aa9c3b7
2 changed files with 5 additions and 5 deletions
-5
View File
@@ -128,11 +128,6 @@ aliases['cleanup'] = _cleanup
#
###
# Does virtualenv support
xontrib load vox
# Faster coreutils
xontrib load coreutils
# Allows identifying JSON as if it was Python by adding some new builtins to the language
import builtins
builtins.true = True
+5
View File
@@ -11,6 +11,11 @@ from sys import platform
# set -x == trace on; $XONSH_TRACE_SUBPROC = True
# $? == _.rtn
# Does virtualenv support
xontrib load vox
# Faster coreutils
xontrib load coreutils
xontrib load direnv
xontrib load coreutils
xontrib load xonsh-apipenv