From 06293dbaf7853a870ac23efcbb49d07457f579da Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Mon, 30 Oct 2023 10:31:45 -0400 Subject: [PATCH] proper pathsep --- configs/shells/bash/macros.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/configs/shells/bash/macros.sh b/configs/shells/bash/macros.sh index 7e794ad..a560692 100644 --- a/configs/shells/bash/macros.sh +++ b/configs/shells/bash/macros.sh @@ -207,14 +207,16 @@ ewconfig-pull-zip(){ guru-shell() { # Figure out the appropriate prefix if [ $(uname -o | grep -c Msys) -gt 0 ]; then - s_drive="s://" + s_drive="S://" + pathsep=";" else s_drive="//qs/resources" + pathsep=":" fi - PYTHONPATH="$s_drive/studio/studio2023/env:$PYTHONPATH" \ - PYTHONPATH="$s_drive/studio/studio2023:$PYTHONPATH" \ - PATH="/c/Programs/software/win/core/python/python_3.7.7:$PATH" \ + PYTHONPATH="$s_drive/studio/studio2023/env$pathsep$PYTHONPATH" \ + PYTHONPATH="$s_drive/studio/studio2023$pathsep$PYTHONPATH" \ + PATH="/c/Programs/software/win/core/python/python_3.7.7$pathsep$PATH" \ PS1_CTX="guru bash" \ bash } \ No newline at end of file