core: better sudo and journal aliases

This commit is contained in:
Timothy DeHerrera 2019-12-19 11:57:49 -07:00
parent e7d560a3af
commit 3038c1db41
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -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";
}; };