- bash ; ; , ~/.bashrc, , , , ~/.bashrc ( ..) - PS1,
( , --init-file / --rcfile):
bash --rcfile <(cat ~/.bashrc ; echo 'PS1="\[\033[0;33m\]\u@HELLO:\W\$\[\033[00m\] "')
, / + <() bash; , stdout , /dev/fd/<n>. , ~/.bashrc; set PS1 ( ) - /dev/fd/<n>; bash /dev/fd/<n> rcfile.
:
user@pc:tmp$ TESTVAR="testing" bash --rcfile <(cat ~/.bashrc ; echo 'PS1="\[\033[0;33m\]\u@HELLO:\W\$\[\033[00m\] "')
user@HELLO:tmp$ test-alias-tab-completion ^C
user@HELLO:tmp$ echo $TESTVAR
testing
user@HELLO:tmp$ exit
exit
user@pc:tmp$