I tried command bash -vx
which is stated that (By the way, these two options are particularly useful when you are testing or debugging a shell script.)
$ bash -vx
++ prompt_git ' on '
bash: prompt_git: command not found
After this command, bash: prompt_git: command not found
is append to the output of every command:
$ uptime
uptime
+ uptime
17:18:51 up 7:54, 2 users, load average: 3.62, 4.03, 2.94
++ prompt_git ' on '
bash: prompt_git: command not found
How to set `prompt-git' off.
What's the reverse operation of bash -vx