diff --git a/configs/shells/bash/macros.sh b/configs/shells/bash/macros.sh index ed580d1..a030b2a 100644 --- a/configs/shells/bash/macros.sh +++ b/configs/shells/bash/macros.sh @@ -176,7 +176,7 @@ wg-edit() { if [ $# != 1 ]; then echo "Usage: wg-edit " else - sudo nvim /etc/wireguard/$1.conf + sudoedit /etc/wireguard/$1.conf fi } @@ -280,4 +280,4 @@ aspath-long() { else mtr $@ -z -rw -c1 -G0.25 | tail -n +3 | awk '{print $2}' | uniq | cut -c 3- | tr '\n' ',' | sed 's/,/ -> /g' | rev | cut -c 5- | rev fi -} \ No newline at end of file +}