-
-
Notifications
You must be signed in to change notification settings - Fork 86
Add an "ignorespace" option #5072
Copy link
Copy link
Open
Labels
area: configConfiguration INI filesConfiguration INI filesarea: coreIssues not related to a specific subsystemIssues not related to a specific subsystemprio: lowMinor problem or easily worked aroundMinor problem or easily worked around
Milestone
Metadata
Metadata
Assignees
Labels
area: configConfiguration INI filesConfiguration INI filesarea: coreIssues not related to a specific subsystemIssues not related to a specific subsystemprio: lowMinor problem or easily worked aroundMinor problem or easily worked around
Type
Fields
Give feedbackNo fields configured for Feature.
Is there an existing request for this?
Is your feature request related to a problem?
4.8.33, git
Describe the solution you'd like
Add a config option equivalent to
bash'sHISTCONTROL=ignorespace.Commands entered at
mc'spanels that begin with a space wouldn't be remembed (invoked by a subsequent Alt+P or Alt+H, nor saved tomc's own history).I truly like this feature of
bashand use it on a regular basis. I have the muscle memory to begin commands with a space that are potentially harmful if later accidentally invoked again via the history, such asrm somefile,git reset --hardetc.(Note that this has nothing to do with setting this env var for the subshell; we already do that. It's not about the subshell's
.bash_historyor equivalent, it's aboutmc's history.)Describe alternatives you've considered
No response
Additional context
No response