shell: add systemd related aliases

This commit is contained in:
Oystein Kristoffer Tveit 2023-03-17 01:26:40 +01:00
parent e78d1408aa
commit 418ab8c155
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
1 changed files with 14 additions and 0 deletions

View File

@ -140,6 +140,20 @@ in rec {
nxo = toString inputs.nix-attr-search.packages.${pkgs.system}.nix-option-search;
};
# ░█▀▀░█░█░█▀▀░▀█▀░█▀▀░█▄█░█▀▄
# ░▀▀█░░█░░▀▀█░░█░░█▀▀░█░█░█░█
# ░▀▀▀░░▀░░▀▀▀░░▀░░▀▀▀░▀░▀░▀▀░
# Systemd related aliases
"Systemd Stuff" = {
scr = "sudo systemctl restart";
scs = "systemctl status";
scc = "systemctl cat";
scf = "systemctl list-units --failed";
jx = "journalctl -xeu";
};
# ░█▀▀░█▀█░█▀▀░▀█▀░█░█░█▀█░█▀▄░█▀▀
# ░▀▀█░█░█░█▀▀░░█░░█▄█░█▀█░█▀▄░█▀▀
# ░▀▀▀░▀▀▀░▀░░░░▀░░▀░▀░▀░▀░▀░▀░▀▀▀