Add fish history filtering and monthly pruning
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user