Multi-line PS1 color disappearance problem

2023-12-21 Thread email--- via Bug reports for the GNU Bourne Again SHell
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-

Re: Multi-line PS1 color disappearance problem

2023-12-21 Thread alex xmb sw ratchev
On Thu, Dec 21, 2023, 18:26 email--- via Bug reports for the GNU Bourne Again SHell wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt > -fexceptions

Re: Multi-line PS1 color disappearance problem

2023-12-21 Thread Chet Ramey
On 12/21/23 11:40 AM, email--- via Bug reports for the GNU Bourne Again SHell wrote: Bash Version: 5.2 Patch Level: 21 Release Status: release Description:     When PS1 contains line break and it sets color with ansi escape code before the line break,     then in any terminal emulator after

complete NAME seems to diasable completion for NAME in the case of git

2023-12-21 Thread Britton Kerin
help complete shows: $ help complete 5001 complete: complete [-abcdefgjksuv] [-pr] [-DEI] [-o option] [-A action] [-G globpat] [-W wordlist] [-F function] [-C command] [-X filterpat] [-P prefix] [-S suffix] [name ...] Specify how arguments are to be completed by Readline.

Re: complete NAME seems to diasable completion for NAME in the case of git

2023-12-21 Thread Andreas Schwab
On Dez 21 2023, Britton Kerin wrote: > But if I do `complete git' at a new shell That overwrites the completion spec for git (with the empty set, ie. no completions at all). If you want to print existing completions, use complete -p [NAME...]. -- Andreas Schwab, sch...@linux-m68k.org GPG Key f

Re: complete NAME seems to diasable completion for NAME in the case of git

2023-12-21 Thread Martin D Kealey
On Fri, 22 Dec 2023, 05:55 Andreas Schwab, wrote: > If you want to print existing completions, use > complete -p [NAME...]. > The problem is, there's a documentation error. "help complete" says "if no options are supplied…" when it should say something more like "if the -p option is given, or i

Re: Multi-line PS1 color disappearance problem

2023-12-21 Thread email--- via Bug reports for the GNU Bourne Again SHell
On 2023-12-21 17:55, Chet Ramey wrote: Think of the portion of a multi-line prompt before the final newline as a static string that will not affect the display of the last line. Yep. Makes sense. On 2023-12-21 17:32, Alex Ratchev wrote: do u really PS1=\[\033 etc ? try PS1='\[\e...' in '