Re: PS2 prompt appears after quitting vim

2022-12-23 Fir de Conversatie Friedrich Romstedt
Am Fr., 23. Dez. 2022 um 05:39 Uhr schrieb tooth pik : > > it's not the PS2 prompt being used, it's the parts of PS1 that have to be > evaluated > are simply not being evaluated: the $(date '+%H:%M') and the \w > > when my PS1 is "$(date '+%H:%M') /w > " what winds up showing is the "> " For me,

Re: PS2 prompt appears after quitting vim

2022-12-22 Fir de Conversatie tooth pik
it's still doing it, but "it" isn't what i thought it was it's not the PS2 prompt being used, it's the parts of PS1 that have to be evaluated are simply not being evaluated: the $(date '+%H:%M') and the \w when my PS1 is "$(date '+%H:%M') /w > " what winds up showing is the "> " so there appears

Re: PS2 prompt appears after quitting vim

2022-12-17 Fir de Conversatie Bram Moolenaar
> when i set PS1 to '$(date "+%H:%M") \w> ' in my ~/.bashrc i get a bash > prompt with current time of day when i hit enter, current PWD, a > greater than sign, and a space > > just enter "echo $PS1" to see how yours is set > > echo $TERM returns xterm > > in bash the PS2 prompt is for when yo

Re: PS2 prompt appears after quitting vim

2022-12-17 Fir de Conversatie tooth pik
when i set PS1 to '$(date "+%H:%M") \w> ' in my ~/.bashrc i get a bash prompt with current time of day when i hit enter, current PWD, a greater than sign, and a space just enter "echo $PS1" to see how yours is set echo $TERM returns xterm in bash the PS2 prompt is for when you are inside some fu

Re: PS2 prompt appears after quitting vim

2022-12-17 Fir de Conversatie Bram Moolenaar
> dunno if it's something i borked or vim has changed, but for the last day > or so when i quit vim i'm at the PS2 prompt, not the PS1 > > hitting enter clears it back to the PS1 prompt BUT THAT'S AN EXTRA KEYSTROKE > > i'm using a slightly borked opensuse (15.3), X11, KDE, bash shell > > if i

PS2 prompt appears after quitting vim

2022-12-17 Fir de Conversatie tooth pik
dunno if it's something i borked or vim has changed, but for the last day or so when i quit vim i'm at the PS2 prompt, not the PS1 hitting enter clears it back to the PS1 prompt BUT THAT'S AN EXTRA KEYSTROKE i'm using a slightly borked opensuse (15.3), X11, KDE, bash shell if i try to edit with