Bug 392762 - Commands with a space in the beginning should not be added to history
Summary: Commands with a space in the beginning should not be added to history
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-05 14:21 UTC by Arjun AK
Modified: 2018-04-06 13:40 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.13.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arjun AK 2018-04-05 14:21:32 UTC
Just like a shell, all commands that begin with a space should not be added to the history.
Comment 1 Kai Uwe Broulik 2018-04-06 13:40:38 UTC
Git commit b1ec23bc615bf214e8942b3f84299726d9c0a61d by Kai Uwe Broulik.
Committed on 06/04/2018 at 13:40.
Pushed by broulik into branch 'master'.

[KRunner] Don't add to history items that start with a space

This mimics shell prompt behavior.
FIXED-IN: 5.13.0

Differential Revision: https://phabricator.kde.org/D11985

M  +9    -0    krunner/view.cpp

https://commits.kde.org/plasma-workspace/b1ec23bc615bf214e8942b3f84299726d9c0a61d