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 functioning process but it needs input On Sat, Dec 17, 2022 at 9:03 AM Bram Moolenaar <b...@moolenaar.net> wrote: > > > 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 nano when i quit i am at the PS1 prompt > > > > it happens if i start vim --clean so i can't suspect my .vimrc > > What do you mean with "PS2" and "PS1" prompt? > > What terminal are you using and what is the value of 'term' ? > > -- > Veni, Vidi, Video -- I came, I saw, I taped what I saw. > > /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net > \\\ > /// > \\\ > \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ > /// > \\\ help me help AIDS victims -- http://ICCF-Holland.org > /// > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/CALfSX1xX1ivMzZ_-aszkOp15dKfjuvN-XVZ-cZeUAtbJjng1Zg%40mail.gmail.com.