Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

Commit

Permalink
Add abbreviations
Browse files Browse the repository at this point in the history
  • Loading branch information
herrbischoff committed Mar 10, 2021
1 parent 907d28d commit ae5d791
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .config/fish/abbreviations.fish
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,10 @@ abbr --add banmail "sudo fail2ban-client set amavis banip"
abbr --add bancrawler "sudo fail2ban-client set nginx-crawlers banip"
abbr --add banbots "while read -la ip; sudo fail2ban-client set nginx-crawlers banip; end"
abbr --add bancrawlers "while read -la ip; sudo fail2ban-client set nginx-crawlers banip; end"

# PF
abbr --add pf-log "multitail -cS pflog -l 'doas tcpdump -n -e -i pflog0'"
abbr --add pf-top "doas pftop -v rules"

# Nginx
abbr --add nginx-log "doas multitail --mergeall /var/log/nginx/*.log"

0 comments on commit ae5d791

Please sign in to comment.