Updating my bash prompt

I spend most of my days in the command line. I try to keep things as simple, closest to bare metal as possible, without installing a ton of non-system stuff. Usually this is what my prompt looks like: [main:/d/code/cthugha] Instead, this is what I was seeing: bash: /d/code/cthugha/vcpkg/.git/HEAD: Not a directory [:/d/code/cthugha]