-
Notifications
You must be signed in to change notification settings - Fork 14
Description
A problem description: There are minor cases when you need to delete some data from shell history due to security/privacy reasons. For this purpose there are history delete and history delete --contains or history delete --exact built-in commands in Fish. Although it doesn't work with CachyOS custom settings.
Expected behavior: history delete --contains $pattern interactively deletes from the history all $pattern matched records.
Actual behavior: The command only lists the recent history. As far as I can see by my tests ALL history's sub-commands are broken now (search, append, delete, etc).
The reason(if known):
The function redefined at /usr/share/cachyos-fish-config/cachyos-config.fish @ line 70.
function history builtin history --show-time='%F %T ' end
As far as I understood the "--show-time" modificator is only compatible with history listing.
Proposed solution:
Personally for me, I've disabled this hack. Although, it breaks down the native Fish functionality, so perhaps, it should be fixed Distro-wide somehow in new releases.
Proofs:
Extra details:

It's almost default Gnome based installation of CachyOS a couple weeks old.

