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,
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
> 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
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
> 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
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