bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

! in PS1 in posix mode


From: isabella parakiss
Subject: ! in PS1 in posix mode
Date: Sun, 11 Oct 2015 07:37:41 +0200

In posix mode, bash replaces ! in my PS1 with the history number.

$ PS1=' ! '
 ! set -o posix
 513 exit

It doesn't happen with any other prompt escape sequence, afaict.
This looks... intentional?  WTF?


---
xoxo iza



reply via email to

[Prev in Thread] Current Thread [Next in Thread]