Add fish history filtering and monthly pruning

This commit is contained in:
Daniele Fucini
2026-10-14 11:09:24 +02:00
parent 7209834c0f
commit 8bf32a2744
4 changed files with 72 additions and 0 deletions
@@ -0,0 +1,5 @@
function fish_should_add_to_history
# Skip trivial commands that aren't worth recalling
string match -qr '^(doas )?(ls|ll|pwd|clear|exit|cd \.\.)( |$)' -- $argv; and return 1
return 0
end