diff --git a/configs/shells/bash/.bashrc b/configs/shells/bash/.bashrc index 8ebca54..5038e0b 100644 --- a/configs/shells/bash/.bashrc +++ b/configs/shells/bash/.bashrc @@ -13,7 +13,7 @@ export PATH="$EWCONFIG_ROOT/configs/scripts:$PATH" export PATH="$HOME/.local/bin:$PATH" # A basic prompt to display user@host dir sign -export PS1="(bash) \[\e[0;32m\]\u@\h \[\e[0;36m\]\w \[\e[0;36m\]\$ \[\e[0m\]" +export PS1="$PS1_CTX(bash) \[\e[0;32m\]\u@\h \[\e[0;36m\]\w \[\e[0;36m\]\$ \[\e[0m\]" # If found, load studio python if [ -d "/c/Programs/software/win/core/python/python_3.7.7" ]; then export PATH="/c/Programs/software/win/core/python/python_3.7.7:$PATH"; fi diff --git a/configs/shells/bash/macros.sh b/configs/shells/bash/macros.sh index 200e0ef..b1f7604 100644 --- a/configs/shells/bash/macros.sh +++ b/configs/shells/bash/macros.sh @@ -192,3 +192,10 @@ ewconfig-pull-zip(){ # Return to the original directory cd $cwd } + +# Pop a shell inside Guru env +guru-shell() { + PYTHONPATH="//qs//resources/studio/studio2023/env:$PYTHONPATH" \ + PS1_CTX="(guru) " \ + bash +} \ No newline at end of file