env.sh: change the prompt in shells that source this file (#291)

This commit is contained in:
Ștefan Talpalaru 2019-03-27 03:01:07 +01:00 committed by Jacek Sieka
parent 380665141a
commit 43adde51e4
1 changed files with 3 additions and 0 deletions

3
env.sh
View File

@ -20,5 +20,8 @@ export NIMBLE_DIR="${abs_path}/vendor/.nimble"
# used by nim-beacon-chain/tests/simulation/start.sh # used by nim-beacon-chain/tests/simulation/start.sh
export BUILD_OUTPUTS_DIR="${abs_path}/build" export BUILD_OUTPUTS_DIR="${abs_path}/build"
# change the prompt in shells that source this file
export PS1="${PS1%\\\$ } [Nimbus env]\\$ "
exec "$@" exec "$@"