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,6 @@
[Unit]
Description=Prune old, easily retyped commands from fish history
[Service]
ExecStart=/usr/bin/fish -c 'history_prune -a'
Type=oneshot
+9
View File
@@ -0,0 +1,9 @@
[Unit]
Description=Prune fish history monthly
[Timer]
OnCalendar=monthly
Persistent=true
[Install]
WantedBy=timers.target