From 30f01e0671ad7f6646e0d1fc4620d5bc69d39be0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 19 Jan 2026 09:21:43 +0100 Subject: alias: add nctl for networkd --- shellrc.d/alias | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shellrc.d/alias') diff --git a/shellrc.d/alias b/shellrc.d/alias index f5d910d..83acb00 100644 --- a/shellrc.d/alias +++ b/shellrc.d/alias @@ -30,6 +30,9 @@ if pidof systemd >/dev/null 2>/dev/null; then alias jrn='journalctl' alias ujrn='jrn --user' fi +if pidof systemd-networkd >/dev/null 2>/dev/null; then + alias nctl='sudo networkctl' +fi if command -v sdcv 2>/dev/null >&2; then alias sdcv='sdcv -c' -- cgit v1.2.3