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 = {
|
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 = [
|
||||||
|
|
Loading…
Reference in a new issue