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

Update a little code

parent 3bea8125
No related branches found
No related tags found
No related merge requests found
...@@ -346,7 +346,7 @@ source "${SRC_PATH}"/iocsh_complete.bash ...@@ -346,7 +346,7 @@ source "${SRC_PATH}"/iocsh_complete.bash
print_env "$1" print_env "$1"
BASE_version=$(echo "${EPICS_BASE##*/}" | awk -F '-' '{print $2}') BASE_version="${EPICS_BASE##*/base-}"
E3_ENV_INFO="(${BASE_version}-${E3_REQUIRE_VERSION})" E3_ENV_INFO="(${BASE_version}-${E3_REQUIRE_VERSION})"
NEW_E3_PS="${E3_ENV_INFO}\[\033[33m\]\u\[\033[m\]@\[\033[33;1m\]\w\[\033[m\]\$ " NEW_E3_PS="${E3_ENV_INFO}\[\033[33m\]\u\[\033[m\]@\[\033[33;1m\]\w\[\033[m\]\$ "
......
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