forked from pub-solar/os
core: better sudo and journal aliases
This commit is contained in:
parent
e7d560a3af
commit
3038c1db41
|
@ -80,19 +80,19 @@ in
|
||||||
nrb = ifSudo "sudo nixos-rebuild";
|
nrb = ifSudo "sudo nixos-rebuild";
|
||||||
|
|
||||||
# sudo
|
# sudo
|
||||||
si = ifSudo "env sudo -i";
|
s = ifSudo "sudo -E ";
|
||||||
sudo = ifSudo "sudo -E ";
|
si = ifSudo "sudo -i";
|
||||||
se = ifSudo "sudoedit";
|
se = ifSudo "sudoedit";
|
||||||
|
|
||||||
# systemd
|
# systemd
|
||||||
ctl = "systemctl";
|
ctl = "systemctl";
|
||||||
stl = ifSudo "sudo systemctl";
|
stl = ifSudo "s systemctl";
|
||||||
utl = "systemctl --user";
|
utl = "systemctl --user";
|
||||||
ut = "systemctl --user start";
|
ut = "systemctl --user start";
|
||||||
un = "systemctl --user stop";
|
un = "systemctl --user stop";
|
||||||
up = ifSudo "sudo systemctl start";
|
up = ifSudo "s systemctl start";
|
||||||
dn = ifSudo "sudo systemctl stop";
|
dn = ifSudo "s systemctl stop";
|
||||||
jctl = "journalctl";
|
jtl = "journalctl";
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue