[dolphin] [Bug 435957] Useless "cd <location> items are added to history when switching directories with the Dolphin GUI

Andrew Meyer bugzilla_noreply at kde.org
Fri Nov 4 21:12:39 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=435957

Andrew Meyer <ameyer0 at protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ameyer0 at protonmail.com

--- Comment #2 from Andrew Meyer <ameyer0 at protonmail.com> ---
A workaround: Some shells have a setting where commands with a leading space
don't get added to the history. Dolphin already puts a space before each
command it sends to the terminal, i.e. " cd <location>", so enabling this
setting in bash should keep the history from getting clogged.

If you use bash, add to .bashrc: HISTCONTROL=ignorespace
If you use zsh, add to .zshrc: setopt HIST_IGNORE_SPACE

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list