You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -31,7 +29,7 @@ function setup_nexus_configs() {
31
29
}
32
30
33
31
functionsetup_git_config() {
34
-
if [ "${SKIP_INTERNAL_CONFIG}"!="yes" ];then
32
+
if [ "${SKIP_INTERNAL_CONFIG:-}"!="yes" ];then
35
33
copy_to_home_dir gitconfig .gitconfig
36
34
fi
37
35
}
@@ -40,42 +38,49 @@ function setup_git_config() {
40
38
functioninstall_mise_tools() {
41
39
copy_to_home_dir "${1}" .config/mise/config.toml
42
40
try su - "${PRIMARY_USER}" -c "curl https://mise.run | sh"
43
-
try su - "${PRIMARY_USER}" -c "mise settings ruby.compile=false && GITHUB_TOKEN=\$(cat /run/secrets/github_token) mise install"
44
-
try su - "${PRIMARY_USER}" -c "echo 'export PATH=\"\$HOME/.local/share/mise/shims:\$PATH\"' >> ~/.bashrc"
41
+
try su - "${PRIMARY_USER}" -c "mise settings ruby.compile=false && GITHUB_TOKEN=\$(cat /run/secrets/github_token) CLICOLOR_FORCE=1 mise install"
42
+
try su - "${PRIMARY_USER}" -c "echo 'export PATH=\"\$HOME/.local/share/mise/shims:\$PATH\"' | tee -a ~/.bashrc ~/.profile"
45
43
try su - "${PRIMARY_USER}" -c "ln -s ~/.local/share/mise ~/.asdf"# Workaround lack of Gradle support for discovering mise toolchains https://github.com/gradle/gradle/issues/29355
0 commit comments