Add fish history filtering and monthly pruning
This commit is contained in:
@@ -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
|
||||
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Prune fish history monthly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=monthly
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user