[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
count in vi mode alters prompt
From: |
mohd . akram |
Subject: |
count in vi mode alters prompt |
Date: |
Sun, 19 May 2024 01:28:32 +0400 (+04) |
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 Darwin Kernel Version 23.4.0: Fri Mar
15 00:11:05 PDT 2024; root:xnu-10063.101.17~1/RELEASE_X86_64 x86_64
Machine Type: x86_64-apple-darwin23.2.0
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. It should instead silently accept
the count as it does any other input in command mode.
Repeat-By:
1. set -o vi
2. edit a line and use a count before a command
- count in vi mode alters prompt,
mohd . akram <=