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