How to modify the command line text showing in Mac terminal
Bash performs a lookup in /etc/passwd, well on macOS it looks in opendirectory, for the users HOME folder at every invocation. Try the following-
 dscl . -read /Users/$(id -un) NFSHomeDirectory RecordName

You will need to change the NFSHomeDirectory value and more than likely the RecordName in opendirectory.