Updating PROMPT_COMMAND to use ~ instead of absolute path to home directory