Using PS2
suggest changePS2 is displayed when a command extends to more than one line and bash awaits more keystrokes. It is displayed too when a compound command like while…do..done and alike is entered.
export PS2="would you please complete this command?\n"
# now enter a command extending to at least two lines to see PS2
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents