guru shell
This commit is contained in:
parent
a6ee1909a1
commit
ffcfe33f02
@ -13,7 +13,7 @@ export PATH="$EWCONFIG_ROOT/configs/scripts:$PATH"
|
|||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
# A basic prompt to display user@host dir sign
|
# 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 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
|
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
|
||||||
|
@ -192,3 +192,10 @@ ewconfig-pull-zip(){
|
|||||||
# Return to the original directory
|
# Return to the original directory
|
||||||
cd $cwd
|
cd $cwd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Pop a shell inside Guru env
|
||||||
|
guru-shell() {
|
||||||
|
PYTHONPATH="//qs//resources/studio/studio2023/env:$PYTHONPATH" \
|
||||||
|
PS1_CTX="(guru) " \
|
||||||
|
bash
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user