.bashrc: Update prompt_color() to use `realpath` to get canonical $HOME
authorTony Duckles <tony@nynim.org>
Sun, 1 Dec 2019 15:38:51 +0000
committerTony Duckles <tony@nynim.org>
Sun, 1 Dec 2019 15:38:51 +0000
commit58b090141a0856b078b9ac6f2917c4fe6f7997ea
tree416eeddea51c63382bd6c41f0cc9cbf5080a0f0b
parent71db2440d9e3fad1b6b5b7a53a571aa1c0e01615
.bashrc: Update prompt_color() to use `realpath` to get canonical $HOME

Use `realpath` to get canonical $HOME file-path. This is mainly relevant
in situations where $HOME is under a symlink, where there will be a
difference between the symbolic vs canonical values.
.bashrc