🧑 perf(fish): Add various system abbr's

This commit is contained in:
punkfairie 2024-03-10 16:29:53 -07:00
parent a923679f40
commit 2dfacf571a
Signed by: punkfairie
GPG key ID: A86AF57F837E320F
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,4 @@
#!/usr/bin/env fish
abbr -a jf --position command "sudo journalctl --follow --unit"
abbr -a je --position command "sudo journalctl --pager-end --unit"

View file

@ -0,0 +1,9 @@
#!/usr/bin/env fish
abbr -a sctl --position command "sudo systemctl"
abbr -a sctls --position command "sudo systemctl status"
abbr -a sctle --position command "sudo systemctl enable --now"
abbr -a sctld --position command "sudo systemctl disable --now"
abbr -a sctlr --position command "sudo systemctl restart"
abbr -a sctlo --position command "sudo systemctl stop"
abbr -a sctla --position command "sudo systemctl start"

View file

@ -0,0 +1,7 @@
#!/usr/bin/env fish
abbr -a y --position command yay
abbr -a yi --position command "yay -S"
abbr -a yr --position command "yay -R"
abbr -a yc --position command "yay -Sc"
abbr -a yu --position command "yay -Syu"