From d261b908ad780003c59add1828810b4e077b2c85 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Sun, 16 Jul 2023 11:34:47 +0000 Subject: [PATCH] Latest --- home/dot_config/shell/profile.sh.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/dot_config/shell/profile.sh.tmpl b/home/dot_config/shell/profile.sh.tmpl index 555c1af9..e17a846f 100644 --- a/home/dot_config/shell/profile.sh.tmpl +++ b/home/dot_config/shell/profile.sh.tmpl @@ -120,8 +120,10 @@ fi # fi ### emsdk -if [ -f "${XDG_DATA_HOME:-$HOME/.local/share}/emsdk/emsdk_env.sh" ]; then - . "${XDG_DATA_HOME:-$HOME/.local/share}/emsdk/emsdk_env.sh" +if [ -d "${XDG_DATA_HOME:-$HOME/.local/share}/emsdk" ]; then + export PATH="$PATH:${XDG_DATA_HOME:-$HOME/.local/share}/emsdk" + export EMSDK="${XDG_DATA_HOME:-$HOME/.local/share}/emsdk" + export EMSDK_QUIET=1 fi ### fzf-tmux