From 7655b87d70e7d58eb8d384beefb4083e2b2fc9d1 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 30 Mar 2024 18:55:23 +0300 Subject: [PATCH] Network : Use nms, nmu, nmd instead. --- module/common/bash/module/Network.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module/common/bash/module/Network.sh b/module/common/bash/module/Network.sh index 08e63d5..bee98b8 100644 --- a/module/common/bash/module/Network.sh +++ b/module/common/bash/module/Network.sh @@ -9,19 +9,19 @@ function network() { } # Show active connections. -function ns() { +function nms() { nmcli connection show } # Start the connection. # Usage: nu -function nu() { +function nmu() { nmcli connection up "${@}" } # Stop the connection. # Usage: nd -function nd() { +function nmd() { nmcli connection down "${@}" } @@ -29,4 +29,4 @@ function _complete_connections() { _autocomplete $(nmcli connection show | sed "1d" | cut -d\ -f1) } -complete -F _complete_connections nd nu +complete -F _complete_connections nmd nmu