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 = { home.shellAbbrs = {
jf = { jctlf = "sudo journalctl --follow --unit";
position = "command"; jctle = "sudo journalctl --pager-end --unit";
expansion = "sudo journalctl --follow --unit";
}; sctl = "sudo systemctl";
je = { sctls = "sudo systemctl status";
position = "command"; sctle = "sudo systemctl enable --now";
expansion = "sudo journalctl --pager-end --unit"; sctld = "sudo systemctl disable --now";
}; sctlr = "sudo systemctl restart";
sctla = "sudo systemctl start";
sctlo = "sudo systemctl stop";
}; };
imports = [ imports = [