refactored bashrc away from echo and quote nesting

printf -v is much more reasonable for variable assignment than
subshelling and other forms of quoting.  The latter work fine if you
have one or perhaps two levels of order, but beyond that the escaping
mayhem is unacceptable.  printf -v combined with single quotes seems to
eliminate nearly all escaping madness