File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ AUTOEXEC_LOGFILE="$ENIGMA_INSTALL_DIR/logs/autoexec.log"
6
6
TIME_FORMAT=` date " +%Y-%m-%d %H:%M:%S" `
7
7
8
8
# Mise en place
9
- ~ /.local/bin/mise activate bash >> bash
9
+ export PATH=" $HOME /.local/bin:$PATH "
10
+ export PATH=" $HOME /.local/share/mise/shims:$PATH "
11
+ export PATH=" $HOME /.local/share/mise/installs/python/latest/bin:$PATH "
10
12
11
13
# Environment Versions
12
14
ENIGMA_NODE_VERSION=${ENIGMA_NODE_VERSION:= $(toml get --toml-path=$ENIGMA_INSTALL_DIR / mise.toml tools.node)}
@@ -32,8 +34,9 @@ log "- CURRENT DIR: ${PWD##}"
32
34
33
35
if ! command -v " mise" 2>&1 > /dev/null
34
36
then
35
- log " mise is not in your PATH, activating"
36
- eval " $( ~/.local/bin/mise activate bash) "
37
+ log " mise is not in your PATH"
38
+ log " ERROR END"
39
+ exit 1
37
40
fi
38
41
39
42
if ! command -v " node" 2>&1 > /dev/null
You can’t perform that action at this time.
0 commit comments