Different bash prompt for different vi editing mode? -
When using WiFi mode (SET-OVI) with Bash, this is an indication that depends on the mode How do you find the editing mode currently (insert or command)?
BTW, this is possible:
Fresh bush 4.3 and readline 6.3 for you Something new .. Changelog:
New Features in 4 Redline New User-Setable Variable, Show-Mode-In-Prompt, adds the letters at the beginning of the hint, pointing to the current editing mode .
then set in / etc / inputrc or ~
set-mode-in-prompt
/ .inputrc (thx stooj) should affect all your readline-enabled programs;)
Comments
Post a Comment