aboutsummaryrefslogtreecommitdiff
path: root/shellrc.d
diff options
context:
space:
mode:
Diffstat (limited to 'shellrc.d')
-rw-r--r--shellrc.d/alias3
1 files changed, 3 insertions, 0 deletions
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'