Skip to content
Snippets Groups Projects
Commit 082cce94 authored by Juntong Liu's avatar Juntong Liu
Browse files

change the {xxx/\{*|/} to {xxx#*/} to suite all implementation.

parent f449a3e5
No related branches found
No related tags found
No related merge requests found
......@@ -354,7 +354,7 @@ echo "##############################################"
echo
BASE_version=$(echo "${EPICS_BASE##*/}" | awk -F '-' '{print $2}')
E3_ENV_INFO="{B:$BASE_version R:$E3_REQUIRE_VERSION}"
E3_ENV_INFO="{B:$BASE_version R:$E3_REQUIRE_VERSION}/"
NEW_E3_PS="${E3_ENV_INFO}\[\033[33m\]\u\[\033[m\]@\[\033[33;1m\]\w\[\033[m\]\$ "
if [ -z "$E3_ENV_ON" ]; then
......@@ -366,6 +366,6 @@ if [ -z "$E3_ENV_ON" ]; then
export PS1="${E3_ENV_INFO}${PS1}"
fi
else
PS_TMP=${PS1/\{*\}/}
PS_TMP=${PS1#*/}
export PS1="${E3_ENV_INFO}${PS_TMP}"
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment