[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: count in vi mode alters prompt
From: |
Chet Ramey |
Subject: |
Re: count in vi mode alters prompt |
Date: |
Mon, 20 May 2024 09:27:22 -0400 |
User-agent: |
Mozilla Thunderbird |
On 5/18/24 5:28 PM, mohd.akram@outlook.com wrote:
Bash Version: 5.2
Patch Level: 26
Release Status: release
Description:
When using vi mode in bash, whenever a count is used before a command,
bash replaces the prompt with (arg: n) where n is the count entered.
This causes the entire line to shift, which is particularly jarring if
a long prompt is used, as is common.
This is standard readline behavior in both emacs and vi mode.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature