diff --git a/.config/fish/conf.d/30-journalctl.fish b/.config/fish/conf.d/30-journalctl.fish new file mode 100644 index 0000000..80459e4 --- /dev/null +++ b/.config/fish/conf.d/30-journalctl.fish @@ -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" diff --git a/.config/fish/conf.d/30-systemctl.fish b/.config/fish/conf.d/30-systemctl.fish new file mode 100644 index 0000000..5dcfa02 --- /dev/null +++ b/.config/fish/conf.d/30-systemctl.fish @@ -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" diff --git a/.config/fish/conf.d/30-yay.fish b/.config/fish/conf.d/30-yay.fish new file mode 100644 index 0000000..bc6f402 --- /dev/null +++ b/.config/fish/conf.d/30-yay.fish @@ -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"