feat(systemctl): Add abbrs
Also refactored journalctl abbrs a bit
This commit is contained in:
parent
e87969e3be
commit
539c046ac9
1 changed files with 10 additions and 8 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue