Skip to content

Commit 5a43582

Browse files
author
Priyam Mitra
committed
removed prefix from vpn list
1 parent 6cb587d commit 5a43582

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lazy-connect

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function _lazy_connect_vpn_refresh() {
4545
end tell
4646
end tell
4747
EOF
48-
tr ',' '\n' | sed 's/^[[:space:]]//g' >$_lazy_connect_config_dir/vpns
48+
tr ',' '\n' | sed 's/^[[:space:]]//g' | cut -d' ' -f2- >$_lazy_connect_config_dir/vpns
4949

5050
echo "Storing the VPN list..."
5151
if [ -f $backup_file ]; then
@@ -143,7 +143,7 @@ function _lazy_connect_mojave() {
143143
vpn_name=$1
144144
osx_vpn_name_not_connected="${vpn_name/Connect /}, Not Connected"
145145
osx_vpn_name_connected="${vpn_name/Connect /}, Connected"
146-
osx_vpn_name="${vpn_name/Connect /},"
146+
osx_vpn_name="${vpn_name/Connect /}"
147147

148148
_lazy_connect_get_totp $2
149149
local autofill=$3

0 commit comments

Comments
 (0)