Inherit user .bashrc file and identify FBE in prompt.
This commit is contained in:
parent
1cc7c79339
commit
4ab8beba6d
|
@ -34,5 +34,11 @@ export PATH="${FBEDIR}/bin:${PATH}"
|
|||
# Display banner
|
||||
version
|
||||
|
||||
# Invoke shell
|
||||
bash --rcfile <(echo 'cd ${SRCDIR}')
|
||||
# Invoke shell with fancy prompt
|
||||
export PFMAT1="\[\033[0;1;97;44m\]"
|
||||
export PFMAT2="\[\033[0;34;104m\]"
|
||||
export PFMAT3="\[\033[0;1;97;104m\]"
|
||||
export PFMAT4="\[\033[0;94;49m\]"
|
||||
export PFMAT5="\[\033[1;38;5;74m\]"
|
||||
export PROMPT="\n${PFMAT1} FerretOS BE ${PFMAT2}${PFMAT3} \w ${PFMAT4}${PFMAT5} "
|
||||
bash --rcfile <(echo 'export PS1="${PROMPT}" && source ~/.bashrc && cd ${SRCDIR}')
|
||||
|
|
Loading…
Reference in New Issue