Using a script, I was to change the prompt of the parent Bash shell. I have tried the following:
PS1="Hello World > "
This changes the prompt of the subshell, which the script is running in, but which command would I use to change the prompt of the parent shell. Any ideas?
See Question&Answers more detail:os