improve ctx
This commit is contained in:
parent
ffcfe33f02
commit
cb4104318d
@ -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="$PS1_CTX(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
|
||||
|
@ -196,6 +196,6 @@ ewconfig-pull-zip(){
|
||||
# Pop a shell inside Guru env
|
||||
guru-shell() {
|
||||
PYTHONPATH="//qs//resources/studio/studio2023/env:$PYTHONPATH" \
|
||||
PS1_CTX="(guru) " \
|
||||
PS1_CTX="guru bash" \
|
||||
bash
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user