Re: count in vi mode alters prompt

2024-05-20 Thread Chet Ramey
On 5/20/24 9:34 AM, Mohamed Akram wrote: Is there a way to disable this feature, at least in vi mode? No. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/

Re: count in vi mode alters prompt

2024-05-20 Thread Mohamed Akram
Is there a way to disable this feature, at least in vi mode? > On May 20, 2024, at 5:27 PM, Chet Ramey wrote: > > On 5/18/24 5:28 PM, mohd.ak...@outlook.com wrote: > >> Bash Version: 5.2 >> Patch Level: 26 >> Release Status: release >> Description: >> When using vi mode in bash, whenever a

Re: count in vi mode alters prompt

2024-05-20 Thread Chet Ramey
On 5/18/24 5:28 PM, mohd.ak...@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 cause

count in vi mode alters prompt

2024-05-18 Thread mohd . akram
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: darwin23.2.0 Compiler: /usr/bin/clang Compilation CFLAGS: -pipe -Os -DSSH_SOURCE_BASHRC -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch x86_64 uname output: Darwin Mohameds-MBP 23.4.0 Darwi