]>
Commit | Line | Data |
---|---|---|
30a4d2d3 | 1 | if [ "${TERM}" != "dumb" ] ; then |
6a02071f MF |
2 | # Set the terminal's window title. |
3 | PS1='\[\e]0;\u@\h \w\007\]' | |
30a4d2d3 MF |
4 | if [ -n "${SDK_VERSION}" ] ; then |
5 | PS1+="(sdk ${SDK_BOARD} ${SDK_VERSION}) " | |
6 | fi | |
7650be35 MF |
7 | # The cat here affects the exit code after this assignment. |
8 | PS1+='\[\e[0;33m\]\u\[\e[30;1m\]@\[\e[31;1m\]\h'$(cat /etc/ps1_append 2>/dev/null || :)'\[\e[30;1m\] \j:$? \[\e[34;1m\]\W \$\[\e[0m\] ' | |
30a4d2d3 | 9 | fi |