feat(systemctl): Add abbrs

Also refactored journalctl abbrs a bit
This commit is contained in:
punkfairie 2024-11-05 18:07:38 -08:00
parent e87969e3be
commit 539c046ac9

View file

@ -1,14 +1,16 @@
{ ... }:
{
home.shellAbbrs = {
jf = {
position = "command";
expansion = "sudo journalctl --follow --unit";
};
je = {
position = "command";
expansion = "sudo journalctl --pager-end --unit";
};
jctlf = "sudo journalctl --follow --unit";
jctle = "sudo journalctl --pager-end --unit";
sctl = "sudo systemctl";
sctls = "sudo systemctl status";
sctle = "sudo systemctl enable --now";
sctld = "sudo systemctl disable --now";
sctlr = "sudo systemctl restart";
sctla = "sudo systemctl start";
sctlo = "sudo systemctl stop";
};
imports = [