[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
- ! in PS1 in posix mode,
isabella parakiss <=
- Re: ! in PS1 in posix mode, isabella parakiss, 2015/10/11
- Re: ! in PS1 in posix mode, Chet Ramey, 2015/10/11
- Re: ! in PS1 in posix mode, Linda Walsh, 2015/10/12
- Re: ! in PS1 in posix mode, Chet Ramey, 2015/10/12
- Re: ! in PS1 in posix mode, Linda Walsh, 2015/10/12
- Re: ! in PS1 in posix mode, Chet Ramey, 2015/10/12
- Re: ! in PS1 in posix mode, Linda Walsh, 2015/10/13